Response Manipulation With Queries
Response manipulation with query language (JMESPath)
If you’d like to apply advanced manipulations before you return the API data, the modifier/jmespath allows you to apply JSON query language expressions
Let’s better illustrate the query language with an example. Your backend returns the following content:
{
"students": [
{"name": "Bill", "age": 23 },
{"name": "Mary", "age": 16 },
{"name": "Jessica", "age": 19 }
]
}
Step 1:Go to the created endpoint select backends there we have option Advanced Response Manipulation(JMESPath) Enable it there we should pass the values as have taken examples above pass those values.
