Closed mrcasablr closed 6 years ago
Could you post a sample of the response JSON body?
Here is the sample GraphQL reponse
{
"data": {
"getAddress": {
"zip": 90047,
"name": "McDonalds",
"location": "New England",
"country": "001",
"id": "xxx-xxx-xxx",
"isVerified": null
}
}
}
I just realised it was a typo on my end in the request. Now its working. Apologies, for the trouble.
I'm trying to use just-api with graphql. For a graphql query for a single query and response, just-api works
But for graphql multiple field query and response similar to the rest-api example below - https://github.com/kiranz/just-api/blob/master/test/cli/src/suites/jsondata.suite.yml json-api does not work.
Here is my graphql query -
and I would like to evaluate the response for all the fields.
just-api throws the following error for multi-response data -