Created
November 15, 2010 19:02
-
-
Save markpasc/700783 to your computer and use it in GitHub Desktop.
TypePad OAuth Authorization header in protected resource requests
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
GET /users/@self.json HTTP/1.0 | |
Host: api.typepad.com | |
Authorization: OAuth realm="", oauth_nonce="95331075", oauth_timestamp="1289847587", oauth_consumer_key="649e9c735a549ead", oauth_signature_method="HMAC-SHA1", oauth_version="1.0", oauth_token="lNE79f2DGUGSzaqB", oauth_signature="Fvo3W7X8It6b8xeR9SacmUfsWKI%3D" |
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
POST /blogs/6a011cd6cc97c903b5011cd6cc97ce03b5/add-category.json HTTP/1.0 | |
Host: api.typepad.com | |
Content-Length: 19 | |
content-type: application/json | |
Authorization: OAuth realm="", oauth_nonce="65782695", oauth_timestamp="1289848090", oauth_consumer_key="649e9c735a549ead", oauth_signature_method="HMAC-SHA1", oauth_version="1.0", oauth_token="lNE79f2DGUGSzaqB", oauth_signature="ICDKI9SEvFPE5V5eKOQ%2BWyjKoCo%3D" | |
{"category": "moo"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment