HTP. - General HTTP Operations

<< Click to Display Table of Contents >>

Navigation:  3. Script Language > Internet and Network > HTP. - Command > !HTP-General - General HTTP operations and utilities >

HTP. - General HTTP Operations

Request-Management Overview

Previous Top Next


SPR Script Language

 

Request-Management Overview

Overview of HTTP request management commands in the HTP-Library.

 

Intention

 

The Request-Management subfolder under HTP-General contains commands for preparing, executing, and inspecting HTTP requests in the HTP-Library. These commands handle the core workflow of HTTP communication in SPR scripts, including error retrieval, request type normalization, user-agent management, header initialization, and request execution.

 

Commands

 

HTP.GetErr - Return the last error message as text.

HTP.GetReq - Normalize and return the HTTP request type.

HTP.GetUA - Return the User-Agent string for a given index.

HTP.InitHdr - Initialize HTP headers with API key and content type.

HTP.Request - Perform a full HTTP request with all parameters.

HTP.ReqShort - Perform a simplified HTTP request using static defaults.

 

See also:

 

HTP-General Overview

Configuration Overview

Utility Overview