Hello all
i am making a form in ionic 2 app and i want to submit details of form to a web service.i don’t have any idea how to do that.As i am new in ionic 2.
Ionic 2 is based on Angular 2, so you just use the Angular HTTP Client.
sir i am taking input from the user and want to send data to web service which is made with php.
hello I think this article may help you.
Posting data to a PHP server
But as @mirkonasato said ionic 2 is based on angular 2, so you just have to look at HTTP documentation.
Use an HTTP Client to talk to a remote server.
I wrote a tutorial showing how to use Ionic 2 and PHP to receive/send data: http://masteringionic2.com/blog/2016-12-15-using-php-and-mysql-with-ionic-2/
Hope this helps.