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.
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 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:
-- 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?
03 May 2022