60.4 Global Variables
Global Variable | Data Type | Description |
---|---|---|
g_headers |
header_table |
Global holding HTTP headers to send with a HTTP request. |
g_reason_phrase |
varchar2(32767) |
Reason phrase corresponding with the status code received with the HTTP response. |
g_request_cookies |
sys.utl_http.cookie_table |
Global holding cookies to send with a HTTP request. |
g_request_headers |
header_table |
Global holding HTTP headers received with the HTTP response. |
g_response_cookies |
sys.utl_http.cookie_table |
Global holding cookies received with the HTTP response. |
g_status_code |
pls_integer |
Status code received from the HTTP request. |
The g_status_code
and g_reason_phrase
globals are set after each HTTP request so that you can get its outcome (for example, 200=OK. 400=Bad Request).
Parent topic: APEX_WEB_SERVICE