Skip to Content
0
May 21, 2018 at 09:56 PM

Passing Dynamic Date parameter in HTTP Request

2109 Views

Dear Experts-

I am working on scenarios in which am using GET functionality of HTTP request to retrieve the data using an API endpoint. I have successfully retrieved historical data but now have I need to get the data for every day which means need to pass a dynamic parameter to the HTTP GET request so that every day am getting the data for that current day. I have used content modifier step and have provided a expression using the date format ${date:now:yyyy-MM-dd} and have provided the same in the HTTP request. The result is 422 error. Please let me know if there are any other ideas that can be implemented so that I can retrieve everyday data.

Any help is appreciated.

Regards


HS