U++ framework
Do not panic. Ask here before giving up.

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: 14290
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: Wed Apr 29 12:26:08 GMT+2 2026

Total time taken to generate the page: 0.00510 seconds