Quantcast
Channel: WE MOVED to github.com/microsoft/cpprestsdk. This site is not monitored!
Viewing all articles
Browse latest Browse all 4845

New Post: why BingRequest sample doesn't work on my machine?

$
0
0
Hi,

I download and compile the bingrequest sample successfully. However, when I try to run it, it doesn't work. I can see that the file for storing result is created, but without any content.

I used fiddler to monitor the network activity, and doesn't see any request initiated. It seems like following code:
    http_client client(U("http://www.bing.com/"));
    return client.request(methods::GET, uri_builder(U("/search")).append_query(U("q"), 
searchTerm).to_string());

doesn't sent any request.

Do you have any insight what is happening? what can I do to debug this issue? My environment is win8 desktop + vs2012.

Thanks,
Wende

Viewing all articles
Browse latest Browse all 4845

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>