Skip to content

andermirik/http

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

http

auto str = "https://yobit.net/api/3/ticker/ltc_btc";
std::cout << http::get(str, "some data").to_string() << std::endl;
std::cout << http::post(str, "some data").to_string() << std::endl;
resp = http::upload_files(upload_url, { http::File::from_uri("file", "file.gif", file_url) });
http::Request req;
req.method = "GET";
req.uri = http::Uri("https://yobit.net/api/3/ticker/ltc_btc");
req.headers["Hello"] = "World!";
req.body = "Some data";

std::cout << http::sendRequest(req).to_string();

About

Simple https client

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages