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

Re: [Ftpapi] HTTPAPI - PUT & DELETE Method



Hi Jim,

My first question is what type of interface you are going to use, XML, JSON etc.

I'm using V1.38 without any issues with any of these mentioned methods.

Regards,
Tony Cesarios
GHC Solutions Pty Ltd
0417360450



-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx <ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx> On Behalf Of Jim Wong
Sent: Wednesday, May 1, 2019 7:31 AM
To: ftpapi@xxxxxxxxxxxxxxxxxxxxxx
Subject: [Ftpapi] HTTPAPI - PUT & DELETE Method

Hi,

I have a need to interface IBM i data with an e-commerce site (Shopify). The requirement covers GET, POST, PUT and DELETE methods. However, PUT & DELETE is not supported in current version 1.39. 

The current version whilst it has hooks to support PUT and DELETE, the request Type parameter from HTPPAPI command does not flow through to HTTPAPIR4 service program. Instead, the GET and POST method is hard-coded.

With minimal changes I completed a proof of concept to successfully PUT and DELETE. I simply replaced the hard-coded method with a variable (HTTPAPIR4) and used debug to change POST to PUT or DELETE.

I’m reaching out to our HTTPAPI community to see if there is an enhanced version of HTTPAPI where PUT and DELETE is supported. If available, how do we go about getting these changes into the next version so our user community can all benefit. 

Best regards,
Jim Wong

NAVAN AUSTRALIA PTY LTD
Email: jim.wong@xxxxxxxxxxxx





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