Question:
How do I pass parameters to a URL in the HTTP Client origin? For example, I want to parameterize query, time and endtime in the following URL:
https://www.google.com/search?q=modern+farmhouse+dining+table&time=123&endtime=456
Answer:
You can define runtime parameters or runtime resources to parameterize your URL in the HTTP Client Origin. Documentation on defining runtime resources is located here. This is an example configuration where one value is defined in the pipeline config and another value is defined as a runtime resource embedded in a configuration file.
The resource URL in the HTTP tab of the HTTP Client origin is now defined as:
https://www.google.com/search?q=${query}&time=${time}&endtime=${endtime}