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:
In Postman, change the method next to the URL to 'POST', and under the 'Body' tab choose the 'raw' radio button and then 'JSON (application/json)' from the drop down. You can now type in the JSON you want to send along with the POST request. If this is successful, you should see the new data in your 'db. json' file.
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]"
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With