Use mintaka shared libraries (#1)

* Add libhv and test http client

* Remove cpp-httplib

* Update premake5.lua

* Update client.cpp

* Update premake5.lua

* Add more windows libs

* Use mintaka http client
This commit is contained in:
Guilherme Werner
2023-12-08 17:03:09 -03:00
committed by GitHub
parent 7297e2e383
commit d9c7010888
46 changed files with 26003 additions and 9522 deletions

View File

@ -10,5 +10,17 @@ int main(int argc, char **argv)
{
auto client = new TribufuClient(0, "client_secret");
std::cout << "client_id: " << client->get_id() << std::endl;
json json_obj = {
{"nome", "John"},
{"idade", 25},
{"cidade", "Exemplo"}};
std::string json_str = json_obj.dump(4);
std::cout << json_str << std::endl;
client->get_token();
return 0;
}