HTTP Client with hardcoded authorization for supertweet proxy server.
Dependents: twitterCoffeeMakerFinal iCoffee
Fork of HTTPClientAuthAndPathExtension by
Revision 18:da79dd7e9df2, committed 2014-04-23
- Comitter:
- tlisowski3
- Date:
- Wed Apr 23 18:37:32 2014 +0000
- Parent:
- 17:951bf897ba01
- Commit message:
- HTTP Client with authorization hardcoded in
Changed in this revision
HTTPClient.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 951bf897ba01 -r da79dd7e9df2 HTTPClient.cpp --- a/HTTPClient.cpp Fri Oct 12 16:45:46 2012 +0000 +++ b/HTTPClient.cpp Wed Apr 23 18:37:32 2014 +0000 @@ -172,8 +172,8 @@ //Send all headers - //Authorization heaer - snprintf(buf, sizeof(buf), "Authorization: Basic bWJlZGNvbnRyb2xsZXI6U2MxZW5jZSEh\r\n"); + //Authorization header + snprintf(buf, sizeof(buf), "Authorization: Basic dGxpc293c2tpMzptYXJrZXI=\r\n"); ret = send(buf); CHECK_CONN_ERR(ret);