The request body is not valid JSON. How to send JSON in Postman?

How should I send API call using JSON in Postman ? I am getting error "The request body is not valid JSON".
0
give a positive ratinggive a negative rating
Hi,

Error notification "The request body is not valid JSON" is most probably caused by using of incorrect content type. But first, you should check the JSON format (if brackets, quotes, commas are used in a correct way).

Then you should check the body settings. You should choose raw as a content type and select JSON:

postman how to send post api json

You can also check the content type in headers, by changing the content-type to application/json.
Share on FacebookShare on TwitterShare on LinkedInSend email
1 answer
x
x
2024 AnswerTabsTermsContact us