Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ MT-multithreading and servers » [SOLVED] File upload example
Re: File upload example [message #52436 is a reply to message #52435] Sat, 28 September 2019 10:19 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14267
Registered: November 2005
Ultimate Member
I see. You need HttpRequest::Post. Something like (this is sending JSON):

	HttpRequest r(url);
	r.ContentType("application/json");
	r.PostData(LoadFile("C:/test/some.json")));
	r.Execute());


(there are MANY variations to this depending on target server, but HttpRequest can cover all that I have encountered so far).
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Skylark- REST service returning JSON. Is it possible?
Next Topic: How to update main thread UI when runing other thread
Goto Forum:
  


Current Time: Mon Aug 25 11:14:25 CEST 2025

Total time taken to generate the page: 0.05641 seconds