Following is the code i am using for hitting via try it and execute section of openmrs. i am also screen shot of response from server.
Note:if same thing is done for GET it works fine ,but with POST shows this message.
{
“names”: [
{
"givenName": "pushkar",
"middleName": "singh",
"familyName": "negi",
"familyName2": "string",
"preferred": true,
"prefix": "string",
"familyNamePrefix": "negi",
"familyNameSuffix": "negi",
"degree": "string"
}
],
“gender”: “M”,
“age”: 32,
“birthdate”: “1984-11-11”,
“birthdateEstimated”: true,
“dead”: true,
“deathDate”: “string”,
“causeOfDeath”: “string”,
“addresses”: [
{
"preferred": true,
"address1": "nilmatha",
"address2": "string",
"cityVillage": "string",
"stateProvince": "string",
"country": "string",
"postalCode": "string",
"countyDistrict": "string",
"address3": "string",
"address4": "string",
"address5": "string",
"address6": "string",
"startDate": "string",
"endDate": "string",
"latitude": "string",
"longitude": "string"
}
],
“attributes”: [
{
"attributeType": "uuid",
"value": "string",
"hydratedObject": "uuid"
}
],
“deathdateEstimated”: true,
“birthtime”: “2019-01-24T10:34:20.770Z”
}