🪄 in the token field in the query parameters of Request 2 and select "Retrieve pre-step data".$.token.{{$.2.response.body.token}} inserted as the query param.{{$.2.response.body.token}} from the previous text:{{variable}} syntax. Instead, you should use pm.variables.get to reference pre-step data. For example:| Category | Function | Syntax Example |
|---|---|---|
| Request | URL | {{$.<step id>.request.url}} |
| Path parameter | {{$.<step id>.request.pathParam.<field name>}} | |
| Query | {{$.<step id>.request.query.<field name>}} | |
| Header | {{$.<step id>.request.header.<field name>}} | |
| Body (form) | {{$.<step id>.request.body.<field name>}} | |
| Body (json) | {{$.<step id>.request.body.<field path>}} | |
| Response | Body | {{$.<step id>.response.body.<field path>}} |
| Header | {{$.<step id>.response.header.<field name>}} | |
| Cookie | {{$.<step id>.response.cookie.<field name>}} | |
| Loop | Element (array element in ForEach loop) | {{$.<loop step id>.element.<field path>}} |
| Index | {{$.<loop step id>.index}} |
$.token as {{token}}.{{token}} in the query parameters of Request 2.