Hello <#C03N1E6HFPY|help>, Im struggling to escape...
# help
v
Hello #help, Im struggling to escape encoding for one of the query parameter with special character while injecting into the response template, sharing the below code snippets and response for better understanding, the equals symbol is being encoded in the response, Could someone please help in fixing this?
Copy code
{
  "request": {
    "method": "GET",
    "urlPathPattern": "/people",
    "queryParameters": {
      "name": {
        "or": [
          {
            "matches": "(.*)"
          },
          {
            "absent": true
          }
        ]
      }
    }
  },
  "response": {
    "status": 200,
    "jsonBody": {
      "name": "{{jsonPath request.query '$.name' default='hello world'}}"
    },
    "transformers": [
      "response-template"
    ],
    "headers": {
      "Content-Type": "application/json;charset=UTF-8"
    }
  }
}
solved, thanks!!!
👍 1
d
mind to share on how you do it? i also faced same issue