Forum Discussion
Shashavali
3 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
Related Content
- 2 years ago
- 7 years ago
- 6 years ago
- 4 years ago
- 8 years ago
Recent Discussions
- 16 days ago
- 17 days ago