Skip to content Skip to sidebar Skip to footer

Angularjs Http.post() Returns 404

Hi and merry christmas to you all. I am working with a Phonegap AngularJS App. I am trying to make an http Post but I it returns an 404 error. I tried the POST using jquery 1.10.2

Solution 1:

Solved my problem.

After adding CORS and some Origins Exceptions on server side. I tried my code and got Success and 200 status response but the web service did nothing. After reading this other stackoverflow post I found out that Angularjs post data different from jquery so a normal POST read on the web service would not work. That post have a link to this site which explain in more detail my issue and it has some code for to send data the same way jquery does.

I hope this help someone

Post a Comment for "Angularjs Http.post() Returns 404"