You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've searched existing issues and found nothing related to my issue.
Describe the feature you want to add
I have a service that replies in base64 and I would like to intercept and modify the response body in order to decode it before it gets display.
There is a way to read the response body from the post response script using the function res.getBody(), but there is nothing to set it (like we have in the request body).
Could it be possible to implement the res.setBody() in order to override the body message displayed in the response panel?
The workaround I'm currently using is to print the decoded response in the console using console.log, but it will be more clean to show it directly in the response panel
The text was updated successfully, but these errors were encountered:
I have checked the following:
Describe the feature you want to add
I have a service that replies in base64 and I would like to intercept and modify the response body in order to decode it before it gets display.
There is a way to read the response body from the post response script using the function res.getBody(), but there is nothing to set it (like we have in the request body).
Could it be possible to implement the res.setBody() in order to override the body message displayed in the response panel?
The workaround I'm currently using is to print the decoded response in the console using
console.log
, but it will be more clean to show it directly in the response panelThe text was updated successfully, but these errors were encountered: