Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
46 user(s) are online (30 user(s) are browsing Forums)

Members: 0
Guests: 46

more...
Support us!
Recent OS4 Files
OS4Depot.net
Report message:*
 

Re: Shorten or Compress a String/URL

Subject: Re: Shorten or Compress a String/URL
by yssing on 2015/11/6 10:02:26

It should be possible to use SendData(id, data$) to send a post request, since POST data is part of the request body.

You should be able to send something like this:

POST /path/script.cgi HTTP/1.0
From: xxxyyyzzz
User-Agent: HTTPTool/1.0
Content-Type: application/x-www-form-urlencoded
Content-Length: 32

var1=something&var2=something


At least that is how I use REST webservices in Delphi, granted Delphi and Hollywood is not the same, but I would think the approach should be the same.
Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project