The BEGIN_REQUEST procedure is used to initialize 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, defaulting to GET. |
| http_version | The HTTP protocol version used to send the request. Default is empty, representing the latest version. |
| request_context | The request body, containing wallet and cookie information. Default is empty, representing the information from the current database session. |
| https_host | The hostname. Default is empty, representing the hostname found through SNI from the incoming URL. |
