HTTP POST request with universal display

Use this board to ask questions or have discussions with other Universal Displays users.
Steve Bone
New User
Posts: 11
Joined: Wed Jul 16, 2014 6:19 am
First Name: Steve
Last Name: Bone
Company Name: Kuehne + Nagel
Contact:

HTTP POST request with universal display

Post by Steve Bone »

Hio,

Is it possible to initiate a POST request with the data from a universal display?
We would like to call a web service with it and process the received data.

Kind regards,
SB
User avatar
Glenn
Profound Logic Staff Member
Posts: 124
Joined: Mon Apr 14, 2014 4:08 pm
First Name: Glenn
Last Name: Hopwood
Company Name: Profound Logic Software
State / Province: Ohio
Country: United States
Contact:

Re: HTTP POST request with universal display

Post by Glenn »

Steve,

I would suggest consuming the web service directly from your RPG program using something like HTTPAPI or CGIDEV2. Our Universal Display Files are intended to produce dynamic text output.

Glenn
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: HTTP POST request with universal display

Post by Scott Klement »

Steve,

Are you asking if there's a way to make an HTTP POST request from an RPG program? If so, you could use HTTPAPI for this. HTTPAPI is an open source tool that I wrote for making client-side HTTP requests from RPG. There are other tools like this out there as well, such as Brad Stone's GETURI.


Glenn,

I don't understand how CGIDEV2 would be used, here. CGIDEV2 is a set of server-side routines for writing web applications. It's very much like our Universal displays, except that it uses subprocedure calls instead of Open Access. How would CGIDEV2 help him make a POST request?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest