Reputation: 1907
As i was testing POST request on Postman with details shown in image. I am getting error when i Send this request.
{ "FaultId": "Invalid post data, please correct the request", "fault": "FAULT_INVALID_POST_REQUEST" }
Am i missing something. Details:
Upvotes: 15
Views: 21057
Reputation: 817
Just click the Beautify
button in postman
or format the JSON
in VSCode
or use any JSON formatter
in online.
Upvotes: 1
Reputation: 195
In my case the white spaces (tab spaces before properties) had a special encoding, to solve the problem, just delete them and replace them with spaces:
Upvotes: 1
Reputation: 25921
Looks like the quote marks are not correct, maybe from copy and pasting from a specifically formatted document or syntax may be wrong.
Try removing/replacing manually or using this:
{
"FirstName": "blah",
"LastName": "blah",
"UserName": "blah",
"Password": "blah",
"Email": "[email protected]"
}
Upvotes: 29