Is it possible to replace the JSON property in the body response using the kong response-transformation plugin? if yes, how to can I accomplish it using the UI Konga?
Example of a response body:
[
{
"id": 1,
"name": "Leanne Graham",
"username": "Bret",
"email": "[email protected]",
"address": {
"street": "Kulas Light",
"suite": "Apt. 556",
"city": "Gwenborough",
"zipcode": "92998-3874",
"geo": {
"lat": "-37.3159",
"lng": "81.1496"
}
]
what I want is to replace the id for user_id for each user in the response json.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…