Dynamic value parameter json API advanced rest client

Hi guys!
I’m trying to send a get api json request with step advanced rest client. The parameter value is ‘09-20-2024’. How do I send this dynamic value, from a variable created in step modified javascript? Example: var today = new Date()

Hi @claudiogm77 . It all dependes the JSON Format you need to create.
Suggest you investigate JSON Stringify so you can build the format you need.
You need to create an array and fit each value in the array.
Then stringify will format the JSON stream.

1 Like