The BEGIN_REQUEST procedure initializes an HTTP request.
Note
This system package was introduced in V4.4.1.
Syntax
UTL_HTTP.BEGIN_REQUEST (
url IN VARCHAR2,
method IN VARCHAR2 DEFAULT 'GET',
http_version IN VARCHAR2 DEFAULT NULL,
request_context IN request_context_key DEFAULT NULL,
https_host IN VARCHAR2 DEFAULT NULL)
RETURN req;
Parameters
| Parameter | Description |
|---|---|
| url | The URL of the HTTP request. |
| method | The request method. The default value is GET. |
| http_version | The HTTP protocol version used to send the request. The default value is empty, indicating the latest version. |
| request_context | The request body, containing wallet and cookie information. The default value is empty, indicating the information in the current database session. |
| https_host | The host name. The default value is empty, indicating the host name found by SNI from the input URL. |