Friday 2 June 2017

npm json-server for POST request - need a response

I am using npm json-server to fake REST api calls. I have a POST method which takes some data and returns some other data.

Problem - Whatever I am passing in the request , it just getting updated in the fake.json file (which contains all the GET call responses) . But I am not getting any response back.

Thanks in Advance!!



via Bala.. Boppudi

No comments:

Post a Comment