restbackendless

Can't make POST request from Postman


I have database in backendless, where I am trying to make POST request. If I open rest console in backendless admin page, there is no problem with making correct POST request. However when I want to make POST from postman it doesn't work, I get error

"code": 8002,
"message": "Could not parse request with message: Error decoding json body: null, status code 400, headers POST

Here is screenshot from backendless as well as from postman. I don't understand, why it is working only from backendless console. Could someone help me, where is the problem? Thanks


Solution

  • You should make POST request with JSON body. To do it, add Content-Type: application/json header and define the json body in raw Body tab