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 » Community » Newbie corner » skylark with server and client
Re: skylark with server and client [message #56058 is a reply to message #56057] Tue, 19 January 2021 15:05 Go to previous messageGo to previous message
Xemuth is currently offline  Xemuth
Messages: 387
Registered: August 2018
Location: France
Senior Member
My 'http' is your 'request'.

#include <Core/Core.h>

using namespace Upp;

CONSOLE_APP_MAIN
{
	HttpRequest http("http://localhost:8001/serverSkylark/qualqueres");
//	http.POST().Header("id","1234"); //Via request header
//	http.POST().Post("id","1234"); //Via post Data
	http.POST().PostData("{\"id\":\"1234\"}"); //Via post data formated in JSON
	Cout() << http.Execute() << EOL;
}
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Skylark app - create pdf and donwload it
Next Topic: Cross Compiling?
Goto Forum:
  


Current Time: Tue Jul 08 12:21:18 CEST 2025

Total time taken to generate the page: 0.03452 seconds