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

Access-Token retrieval



    [cid:image001.gif@01D1CFCB.3ECABDC0]

   Hi,


   Have a need to obtain a "Access-Token" string which will be used in
   other requests.


   The sample request given is like:


   Curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -d
   `grant_type=password&username=xxxxxx&password=xxxxxx'
   [1]https://exampleserver.com/api/token


   Question is trying to code this using http_url_post_raw within a RPG
   program, would the first part be considered a "Header" which would be
   added to the url prior to doing a validation using the http_xproc.


   Anyone's feedback will be gratefully appreciated.


   Regards,

   Tony Cesarios

References

   1. https://exampleserver.com/api/token

GIF image

-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------