Click here to Skip to main content
15,921,530 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I can't get the reponse of my webrequest, here's my code

C++
    // Set URL.
WinHttpClient client(L"http://www.codeproject.com/");

// Send HTTP request, a GET request by default.
client.SendHttpRequest();

// The response header.
wstring httpResponseHeader = client.GetResponseHeader();

// The response content.
wstring httpResponseContent = client.GetResponseContent();
printf((char*)httpResponseContent.c_str());


Anyone got a fix?
Posted

you might want to ask in the relevant forum[^], or even try debugging it?
 
Share this answer
 
Internet explorer was my issue, fixed it. Wasn't able to upload stuff to gyazo, send pictures on skype and it was preventing this from working properly too.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900