Search code examples
jsonpostpostman

Why does Postman show "Bad String" in this body of POST request


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:

Error


Solution

  • 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": "blah@blah.com"
    }