http_client of cpprestsdk/casablanca
问题 I have api https://api.gm-system.net/api/authenticate/searchStaffs/searchText which return a list staff. And here is my code to access this api using cpprestsdk with c++. auto fileStream = std::make_shared<ostream>(); // Open stream to output file. pplx::task<void> requestTask = fstream::open_ostream(U("results.html")).then([=](ostream outFile) { *fileStream = outFile; // Create http_client to send the request. http_client client(U("https://api.gm-system.net/api/authenticate/searchStaffs