I want to load html content from www.twitter.com/user in c/c++ without curl, what would the GET request look like? I connected on port 80(not https).
This is what I tried --> 'GET /user HTTP/1.1' but it didnt load the html, got a 400 bad request instead.
Error
HTTP/1.1 400 Bad Request
Date: Fri, 29 Jan 2016 10:46:16 GMT
Server: Apache
Content-Length: 226
Connection: close
Content-Type: text/html; charset=iso-8859-1
Bad Request
Your browser sent a request that this server could not understand.
Comments
No Comments Exist
Be the first, drop a comment!