How to automatically update the CURRENT VALUE in an environment

Hi guys,

Just checking if anyone can support me with this. Every time I send a new auth call to receive a new payment_token, I have to manually add this in my environment Current Value.

I know there is a way to have this automatically update when a new Post request is sent, however I have to manually update this every time.

Hopefully someone can help!

Many thanks.

You can use the Tests sandbox to capture different aspects of the request using the pm.* API functions.

This will allow you to store the data to a variable and then reference this in another request automatically using the {{variable_name}} syntax.