Search found 1 match

by kita
Thu May 16, 2024 2:23 pm
Forum: RPG IV
Topic: QSYS2.HTTP_GET
Replies: 1
Views: 28507

QSYS2.HTTP_GET

Here is the curl request that works
curl -X 'GET' \
'https://myfullurlhere' \
-H 'accept: text/plain' \
-H 'X-API-Key: myapikey'

The code is RPGLE **FREE
I am trying to use the SQL functions so here is how i set up my options
exec sql values json_object(
'basicAuth' value 'X-API-Key: myapikey ...