curl发送Json格式http请求
//将response写入streamsize_t write_data_to_stream(void* ptr, size_t size, size_t nmemb, void* stream){ string data((const char*)ptr, (size_t)size * nmemb); *((stringstream*)stream) << data &l...