httpS post fail at tango

JJDuck via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Jun 26 09:33:56 PDT 2014


I use Tango's example from
http://www.dsource.org/projects/tango/docs/stable/

// open a web-page for posting (see HttpGet for simple reading)
auto post = new HttpPost ("http://yourhost/yourpath");

// send, retrieve and display response
Cout (cast(char[]) post.write("posted data", "text/plain"));


but it cannot post to a http's' address.

Can anyone advise me, i cannot find any other information online.

Thanks


More information about the Digitalmars-d-learn mailing list