acfrancis
acfrancis

Reputation: 3671

Posting to a URL with wxWidgets

Does anyone have some sample code showing how to POST to a URL using wxWidgets? The documentation and discussion forums imply that it's possible but the methods in wxHTTP are very low-level compared to what you find in .NET and scripting languages like Perl and Ruby. Do I actually have to create the HTTP request myself and send it to the server via the SocketOutputStream? Am I missing something?

Upvotes: 1

Views: 935

Answers (2)

user38290
user38290

Reputation: 771

Atually, same here. Tried using wxHTTP and ended up using Curl. And Curl is a charm to work with...

J-O

Upvotes: 0

Tim Ebenezer
Tim Ebenezer

Reputation: 2724

I came across a similar problem initially and ended up using Curl instead as it's also cross platform and is very easy to use.

Tim

Upvotes: 1

Related Questions