ParamsUrlExtractor
Description
Returns a value addressed by a parameter of the URL provided as a string element in a list. A new column is created for the results.
An example where this function may be useful is when API calls require parameter values.
Use
- Argument:
- Select an argument. (String)
- Output field name:
- Enter an output field name.
- ParameterName:
- Enter the parameter name.
Example
String value | Param value | ParamUrlExtractor() returns |
---|---|---|
https://www.automationhero.ai/test/?p1=123&p2=456&p3=789 | p1 | ["123"] |
https://www.automationhero.ai/test/?p1=123&p2=456&p3=789 | p2 | ["456"] |
https://www.automationhero.ai/test/?p1=123&p2=456&p3=789 | p3 | ["789"] |