Jump to content

Recommended Posts

Posted
Dear uniGUI friends,
   i have a question:
 
How would it be possible to integrate very simple REST type service with uniGUI application?
 
Let's say I have existing uniGUI application on address:
http://www.example.com/unigui_app.dll
And I would want to add web service on this address:
http://www.example.com/unigui_app.dll/rest

Then I could call the web service like this:

GET http://www.example.com/unigui_app.dll/rest?students=123 HTTP/1.1
And into Delphi code I would get these parameters:
Method:    GET
Parameter: students
Value:     123

Thanks for any idea.

 

Posted

UniGUI is stateful, you can't get it to work with such url.

Use standard Delphi's WebBroker for REST webservices, no benefits in mixing it together with UniGUI in a single app.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...