I am following your API docs here: https://www.contentstack.com/docs/developers/apis/content-management-api/#create-an-entry
I have my postman request set up as follows, using verbatim the example body, and am receiving a response of:
"error_message": "Please send your attributes wrapped in 'entry'.",
I have my headers set properly, using a management token, and my Stack API key, and the content-type.
Best answer by SachinView original
Could you please check and confirm that Content-Type is set correctly in Header?
Below is the screenshot for your reference.
Screenshot with Content-Type (application/json) in Headers
It seems to be an Content-Type header issue from your screenshots, In body section also we can see you have text instead of JSON
@Harshal Patel that seemed to do the trick!
Is there any way to make suggestions to your documentation on the API? I have a few more examples that might be useful and rest call examples that are a bit more specific.