Send post data from HTML form to RESTful service using codeigniter
Send post data from HTML form to RESTful service using codeigniter
i've just learn about Restful service using codeigniter and created a form, when i submit, i want to send the data to restful service. This is the part of code :
<?php echo form_open_multipart('/mycontroller/myresource', 'class="form-horizontal"', 'role="form"'); ?>
is right if my action target URL resource like code above? if not, can u tell me how to send post data without target my url resource? i'm confused...
0
Thanks for contributing an answer to Stack Overflow!
But avoid …
To learn more, see our tips on writing great answers.
Required, but never shown
Required, but never shown
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.