Response Transformer
Transform your JSON response
Last updated
Transform your JSON response
Last updated
You can transform the data from the response with a Visual Response Transformer. To do so, follow the steps:
Click on the Transform
button
Select the root of your response
If you want to transform unstructured responses – you can use a JavaScript response transformer. data
is a variable that stores a response to your request. To do so, follow the steps:
Click on the Transform
button
Choose JavaScript Transformation
Write your custom script using data
variable
Click on the Run
button to send a request
Click on the Save
button to save it
For example, you can use JS functions to parse the data: