POST Rest API { "code": 8011, "message": "Entity can't be empty" }

Hello,

I want to add some informations to my table Comment with POSTMAN
I added the url , and choose x-www-form-urlencoded
in key : “message” and value is : “nice Comment”
But an error show up :

{
“code”: 8011,
“message”: “Entity can’t be empty”
}

a solution please ??

Hi Hamdi,

Our REST API works with application/json Content-Type mostly. So use application/json instead of x-www-form-urlencoded and send body as a valid JSON.
Also I suggest you refer to the documentation: https://backendless.com/documentation/data/rest/data_saving_data_objects.htm