Forum Discussion
Shashavali
2 years agoContributor
{ {"Ids":[306, 360]}} -- this looks invalid json. see if the response is returning invalid json
expected Response:-
{
"id": 1,
"category": {
"id": 0,
"name": "string"
},
"name": "doggie",
"photoUrls": ["string"],
"tags": [ {
"id": 0,
"name": "string"
}],
"status": "available"
}
GroovyScript :-
def res = context.expand('${Req#Response}')
log.info res
Above GrooryScript returns below as response with adding extra curly braces