I am trying to hit API on Postman. The API is working on server but I am not receiving any data. Here are the visual images:
It is responding me with "No Data" and 400 Bad Request.
I am trying to hit API on Postman. The API is working on server but I am not receiving any data. Here are the visual images:
It is responding me with "No Data" and 400 Bad Request.
There is only one thing you are missing.
It will work.
It's paid APIand I don't want to pay for it, so let me guess ;)
Do you provide body in this request - I guess you should set something like this:
{"fuel":"p","state":"dl"}
I'm guessing it's this API: https://market.mashape.com/navii/daily-fuel-price-india#main-version
Add the Content-Type: application/json
header instead of the one you have.
And the body would be something like this: