Created
February 16, 2010 01:40
-
-
Save davidjrice/305197 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [master!node-twitter-oauth ]$ node bin/twitter-oauth-http.js | |
| DEBUG: URL:"http://term.ie/oauth/example/request_token.php" | |
| DEBUG: SIGNATURE_KEY: secret& | |
| DEBUG: SIGNATURE_BASE: POST&http%3A%2F%2Fterm.ie%2Foauth%2Fexample%2Frequest_token.php&oauth_consumer_key%3Dkey%26oauth_nonce%3D9844f81e1408f6ecb932137d33bed7cfdcf518a3%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1266284317985%26oauth_version%3D1.0 | |
| DEBUG: REQUEST: | |
| POST /oauth/example/request_token.php HTTP/1.1 | |
| Host: term.ie | |
| Authorization: OAuth realm="",oauth_consumer_key="key",oauth_nonce="9844f81e1408f6ecb932137d33bed7cfdcf518a3",oauth_signature_method="HMAC-SHA1",oauth_timestamp="1266284317985",oauth_version="1.0",oauth_signature="MAgDmM/Dar0VQZ5e/qKTi6c6UxU=" | |
| Connection: close | |
| Transfer-Encoding: chunked | |
| DEBUG: "STATUS: 200" | |
| DEBUG: "HEADERS: {\"date\":\"Tue, 16 Feb 2010 01:38:38 GMT\",\"server\":\"Apache/2.2.11 (Debian) DAV/2 PHP/5.2.9-4 with Suhosin-Patch mod_python/3.3.1 Python/2.5.5\",\"x-powered-by\":\"PHP/5.2.9-4\",\"content-length\":\"773\",\"connection\":\"close\",\"content-type\":\"text/html\"}" | |
| DEBUG: "BODY: " | |
| Invalid signature | |
| <hr /> | |
| OAuthRequest Object | |
| ( | |
| [parameters:private] => Array | |
| ( | |
| [oauth_consumer_key] => key | |
| [oauth_nonce] => 9844f81e1408f6ecb932137d33bed7cfdcf518a3 | |
| [oauth_signature_method] => HMAC-SHA1 | |
| [oauth_timestamp] => 1266284317985 | |
| [oauth_version] => 1.0 | |
| [oauth_signature] => MAgDmM/Dar0VQZ5e/qKTi6c6Ux | |
| ) | |
| [http_method:private] => POST | |
| [http_url:private] => http://term.ie/oauth/example/request_token.php | |
| [base_string] => POST&http%3A%2F%2Fterm.ie%2Foauth%2Fexample%2Frequest_token.php&oauth_consumer_key%3Dkey%26oauth_nonce%3D9844f81e1408f6ecb932137d33bed7cfdcf518a3%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1266284317985%26oauth_version%3D1.0 | |
| ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment