What is the path of localhost


what is the path of locolhost:8101
I am getting

cannot post http://localhost:8101/var/www/html/ionic/myApp/src/app/add-data.php


That depends on you webserver.

But this looks like you mixed Ionic (myApp/src/app) and a PHP file somehow - these should be seperate. One folder you have your Ionic app, in another you have a webserver with PHP that is available via a local URI.


Yes sujan u r right have done already