vendredi 29 juillet 2016

Http POST for loading a mock json file

I have an application which hits APIs on the server. But the server isn't developed yet so I am using mock .json files on my local machine to proceed with client side development (which uses angularjs). Some of the APIs need to send POST requests (example: login). When I send POST requests to hit my mock .json files it gives me 400 status error. Is it possible to request .json file with Http Post method ?

Aucun commentaire:

Enregistrer un commentaire