Definition and Usage
The HTTP request command is used to send an HTTP request and save its response as a variable.
Parameters Values
Set parameters
Parameters | Description |
Method | Select a request method |
URL | Enter request URL |
Headers | Add HTTP headers |
Save response as | Save response as a new variable |
Advanced Settings
Parameters | Description |
Timeout(s) | Specify the response timeout in seconds |
Save as a file | Save the response as a file |
Error handling
Parameters | Description |
When error occurs | If an error occurs, the process will be terminated by default. You can also ignore the error or retry the current command |
Example
The workflow above will log into an Octoparse account and save the access token as a variable named "Octoparse_account". Next, it will get a request from the target URL and save the response as a variable titled "taskGroupResponse".