I am trying to add a document to an existing bucket using REST API. I am using Postman just for testing purpose.
Here is the detail below:
POST : http://xxxxxxxxx:port/pools/default/buckets/projbuck/docs/testdoc1
Authorization : Basic Auth
Headers : application/json
Content Type : application/json
JSON BODY :
“type”: “test saving”,
“status”: “awesome Sauce”
What happens is, it is adding a new document but body doesn’t get pushed in the document.
Please correct me what i am doing wrong.