HTTP Commands

<< Click to Display Table of Contents >>

Navigation:  3. Script Language > Internet and Network > HTP. - Command > !HTP-General - General HTTP operations and utilities > !Request-Management - Commands for preparing, executing, and inspecting HTTP requests >

HTTP Commands

HTP.GetReq

Previous Top Next


MiniRobotLanguage (MRL)

 

HTP.GetReq|$$TYPE[|$$RET]

Get HTTP Request Type Numeric Equivalent

 

Intention

 

HTP.GetReq is designed to convert an HTTP request type (e.g., "GET", "POST", "PUT", "PATCH", "DELETE") into its numeric equivalent. This is useful for handling HTTP requests programmatically.

 

 

Syntax

 

HTP.GetReq|$$TYP[|$$RET]

 

Parameter Explanation

 

$$TYP - This parameter is the HTTP request type as a string (e.g., "GET", "POST", "PUT", "PATCH", "DELETE").

$$RET - This optional parameter is the variable that will store the numeric equivalent of the request type.

 

Example

 

HTP.GetReq|"GET"|$$RET

PRT.$$RET

 

Remarks

 

-

 

Limitations:

 

-

 

See also:

 

HTP.ReqShort

HTP.SetProxy