Here is what I want to do: the request is something like:
https://www.google.ca/search?q=test
The response would be:
{
“data”:“something”,
“query_string_param_q_was”:“test”
}
and I need “query_string_param_q_was” to be what the query string parameter was on the request.
So my question is: Do I have access to the request in an example response and if yes how ?
Thanks
dhoyt
(Dick Hoyt)
December 18, 2017, 6:18pm
2
The response body returned after an endpoint is run comes from the server.
I could be wrong in interpreting what your asking, but I would not want POSTMAN inserting anything into the response body.
abhijit
(Abhijit)
December 19, 2017, 6:13am
3
@mickaelbeaudry Nope - for now, Postman will only return the example responses that you’ve saved. There’s no way to have the mock server return dynamic responses yet.