I need to post some values to a REST service. I'm using POSTMAN rest client for my test and i can post string, integer, boolean values to rest service there is no problem. But i could not post array values ;
I am using this parameter, this parameter is working except Array values ;
{
"parameters": [
{
"type": "string",
"name": "nameandsurname",
"value": {"string":{ "value": "myname"}}
},
{
"type": "Array/string",
"name": "arrayvariable",
**"value": {"string":{ "value": "value1"}}** This line is not working...
}
]
}
stringin your JSON model in the backend? I mean this JSON is valid but what is your expected JSON format?"value": {"string":{ "value": "myname"}}to"value": {"arrayvariable":[ "value": "myname"}]also use[]for array instead of{}.