Hello group!
I should know this but it's not working for me. I'm trying to execute a API curl command from my Unidata Unibasic flavor running HP/UX system. The emulator is wIntegrate but I don't think that matters. What is the correct syntax to execute an API Curl command from my PC? Thanks!
*** This works from command prompt ***
C:\\Users\\gonzalp>curl -o out.json http://www.example.com/index.html
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1256 100 1256 0 0 1256 0 0:00:01 --:--:-- 0:00:01 26723
*** This does not work from UniBasic ***
STMT = 'curl -o out.json http://www.example.com/index.html'
PCPERFORM STMT
------------------------------
Peter Gonzalez
programmer
Self Registered
University City MO United States
------------------------------