Hello All
Please excuse me posting this question, I have no idea which is the correct user group for this.
My goal is to do an API call from an ILE RPG Program.
I am testing this on our V7R4 system & got into the QShell by typing STRQSH on command line.
I cannot proceed further as you see below I get a response that the curl command is not found.
What component does my IBM i need installed for this to work ?
Or is there a problem with syntax. I have tried with double quotes in place of single quotes.
$
> PATH=/QOpenSys/pkgs/bin:$PATH
$
> export PATH
$
> curl -i -H 'X-QF-API-Key: e791c101313fb762d538828d'
'https://qfreeze.com/wp-json/qf/v1/qfm?QFM_SERIAL=QFM-12799&RACK_LOCATION=01QF01A&SKU=215-928&PALLET_TAG=00100237003323752631&WAREHOUSE_ID=Albertville'
qsh: 001-0019 Error found searching for command curl. No such path or directory.
$
I also did these to verify
$
> which curl
which: 0652-141 There is no curl in /QOpenSys/usr/bin /usr/ccs/bin /QOpenSys/usr/bin/X11 /usr/sbin . /usr/bin.
$
> curl --version
qsh: 001-0019 Error found searching for command curl. No such path or directory.
$
Google copilot tells me I need this installed "Licensed Program: 5733-OPS (Open Source Options) "
But below link tells me it is not supported.
https://www.ibm.com/support/pages/5733-ops-open-source-software-support-statement
Please help