Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

cpprestsdk header

http_client client(L"http:/your_IP:your_PORT/");

//http_request req(methods::GET);
http_request req(methods::POST);
req.headers().add(L"tag", L"tag_value");
req.set_body(your_data);

client.request(req);
 
PREVIOUS NEXT
Tagged: #cpprestsdk #header
ADD COMMENT
Topic
Name
7+6 =