Skip to content

Http Request

Function Description

TIP

Http Request

Configuration Item Description

General

Command Input

  • MethodInteger: Select the operation method

  • URLstring: Please enter the request URL

  • Protocol Headerstring: Protocol headers, multiple lines, use commas to separate, each line in the format 'Header Name: Header Content'

  • Protocol Bodystring: Enter the content to be sent to the server

Command Output

  • Save Response Result toTList<String>: Specify a variable name that will store the response result

Advanced

  • Delay Before(milliseconds)Integer: The waiting time before instruction execution

  • Connection Timeout in MillisecondsInteger: Enter the connection timeout in seconds

  • Save Result to FileBoolean: Whether to save the response result to a file

  • File Save Directorystring: Enter the path where the file will be saved

  • File Namestring: Enter the name to be saved in the folder

Error Handling

  • Print Error LogsBoolean: Whether to print error logs to the "Logs" panel when the command fails. Default is checked.

  • Handling MethodInteger:

    • Terminate Process: If the command fails, terminate the process.

    • Ignore Exception and Continue Execution: If the command fails, ignore the exception and continue the process.

    • Retry This Command: If the command fails, retry the command a specified number of times with a specified interval between retries.

Usage Example

Process logic description:

Common Errors and Handling

None

Frequently Asked Questions

None