RocketSoftware / multivalue-lab

Demo code from Rocket's MV Servers Lab for UniVerse/UniData/D3 and associated clients, APIs & tools
MIT License
72 stars 83 forks source link

Create U2CallHTTPandRLINK-REST #52

Closed KathyGargas closed 9 years ago

KathyGargas commented 9 years ago

The program listed in this content shows how to use U2 BASIC's CallHTTP API to communicate with R/Link's REST API. The focus is on the /List, /FileGet, and /FilePut methods.

When the program is run, three menu options are available to the user:

  1. List contents of shared folder U2upload <- this option uses the REST API's /List method
  2. Display content of file in shared folder <- this option uses the REST API's /FileGet method
  3. Upload file to shared folder <- this option uses the REST API's /FilePut method
KathyGargas commented 9 years ago

Hi I've just created this document (U2CallHTTPandRLINK-REST) to demonstrate examples of U2's CallHTTP API interfacing with R/Link's REST API. I also have screen dumps of running the program but I'm not sure if this is the place to put them. If so, how? Can files be attached?

Thanks in advance, Kathy Gargas