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

Simple http_url_post example please



   Hi,
   First of all, I am no RPG programmer, but I need to implement a simple
   REST consuming services in ILE RPG.
   I've looked through the given examples and tried to alter some to my
   needs but without luck.
   How do I solve this in a simple minimal way?
   In the "normal world" I would just POST to an url, like this.
   test.domain.com/users/?username=NewUser&email=NewUser@xxxxxxxx
   Or with curl:
   curl -v -X POST -d 'username=NewUser&email=NewUser@xxxxxxxx'
   test.domain.com/users
   How is this done with HTTPAPI? How to I use http_url_post? A full
   example would be great!
   Best regards,
   Jakob
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------