Joseph
Joseph

Reputation: 55

POST json object to REST server via Postman

I am getting an error while sending a json object to server. My json object is as follows:

{
    "AppVersion": "2.0",
    "connection": "3G",
    "received": "2015-10-30",
    "smsContent": "test string",
    "msisdn": "923453334444"  
}

When I send request, I am getting this error:

Malformed JSON: Unexpected 'c'

What is wrong with my json object? Can someone help here?

Upvotes: 1

Views: 1095

Answers (1)

Arya Asokan
Arya Asokan

Reputation: 29

This may be due to the incorrect syntax of your code. I also got this error and corrected by eliminating unnecessary semicolons from my code.

Upvotes: 1

Related Questions