These HTTP services are used to make HTTP requests that use web services. These functions allow the
SQL programmer to use Representational State Transfer (RESTful) via SQL, including Embedded SQL. The
services provide the same capabilities as the SYSTOOLS HTTP functions without the overhead of creating
The services use the HTTP transport APIs that are part of the Integrated Web Services (IWS) client for ILE support.
These HTTP functions exists in QSYS2 and have lower overhead than the SYSTOOLS HTTP functions.
Additional benefits of the QSYS2 HTTP functions are HTTP authentication, proxy support, configurable
redirection attempts, and configurable SSL options.
Enhanced with IBM i 7.5 SF99950 Level 5 & IBM i 7.4 SF99704 Level 26:
- Improved HTTP header options for returning cookies
Enhanced with IBM i 7.5 SF99950 Level 4 & IBM i 7.4 SF99704 Level 25:
- Add BLOB-based versions of QSYS2 HTTP functions
Enhanced with IBM i 7.5 SF99950 Level 3 & IBM i 7.4 SF99704 Level 23
- HTTP options support for "headers" allows users to contain all header options within a single JSON document.
Enhanced with IBM i 7.5 SF99950 Level 1, IBM i 7.4 SF99704 Level 20, and IBM i 7.3 SF99703 Level 28:
- Add HTTP_PATCH scalar function
- Add HTTP_PATCH_VERBOSE table function
- New header option, verboseResponseHeaderFormat, that specifies how the information in the RESPONSE_HTTP_HEADER column of the HTTP_xxx_VERBOSE functions is to be returned
Links to relevant documentation:
Configure TLS/HTTPS secure communications link:
-- Use HTTP_POST to ask IBM Watson to translate text from English --> Spanish
-- Use HTTP_GET to find a list of JSON feeds that are public and free to use
Was this topic helpful?
06 October 2023