[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ftpapi] LIBHTTP and SHOPIFY



Il 09/09/2020 14:40, Fulvio Biagini ha scritto:
Hi,

This is the command that works fine from a browser but does not work in AS400:

*https://<User>:<Password>@cosabella-international.myshopify.com/admin/api/2020-07/orders.json?limit=1

*in As400:
*HTTPAPI URL('https://<User>:<Password>@cosabella-international.myshopify.com/admin/api/2020-07/orders.json?limit=1') **
**DOWNLOAD('/home/test/http.txt') **
**TYPE('application/json') **
**DEBUG('/home/test/debug.txt') *

this is the log:

*HTTPAPI Ver 1.41 released 2020-06-05NTLM Ver 1.4.0 released 2014-12-22*

*OS/400 Ver V6R1M0*


The problem lies on your v6r1m0 box. It is too old to handle newest SSL protocols, you should consider ugrading it to 7.3 or better 7.4. v6.1 is even out of maintenance so there's no way you could grab the needed updates.

You can try to set up a windows or linux box that grabs data from the webservice and store the results into a folder shared qith as400, later from as400 you could read those files...


--
Luca Giammattei
F.I.G.C. - Lega Nazionale Dilettanti
Ufficio C.E.D. - IT
Piazzale Flaminio, 9
I - 00196 Roma
Tel. dir.: +39 0632822372
Fax: +39 0632822711

--
Questa e-mail è stata controllata per individuare virus con Avast antivirus.
https://www.avast.com/antivirus

--
_______________________________________________
Ftpapi mailing list
Ftpapi@xxxxxxxxxxxxxxxxxxxxxx
http://scottklement.com/mailman/listinfo/ftpapi