Passing request parameters as variables to use in response body

@joey, Yes under Pre-request script section.

I tried this way using Postman Echo:

I got the below value from GET request URL:

And sent them to the next Post request:

So, do you see the environment variable getting generated? BTW which Postman version you are using?