json - How to input this request into the body of a Postman request? -


how send following request body of postman request?

{    consumer:  { consumerid:  }  personundercare  {  age: integer  gender:     string  relationid: integer  relationother: string  productinuseid: integer  productinuseother: string  condition:   conditionother: string  }  } 

you can use json validator make sure have valid json, put in body "raw" option. select "body", "raw", , instead of plain text, select json drop down menu.

i took liberties code provided, believe correct json format

{     "consumer": {         "consumerid": {             "personundercare": [{                 "age": 9,                 "gender": "gender",                 "relationid": "id",                 "relationother": "string",                 "productinuseid": 9,                 "productinuseother": "string",                 "condition": "string",                 "conditionother": "string"             }]         }     } } 

i used jsonlint validate json


Comments

Popular posts from this blog

javascript - Create a stacked percentage column -

Optimising Firebase database by automatically overwriting data -

javascript - Angular UI-Grid customTemplate directive causing rows to load slowly/? -