{"id":1262,"date":"2010-10-27T02:01:24","date_gmt":"2010-10-27T06:01:24","guid":{"rendered":"http:\/\/www.dr-chuck.com\/csev-blog\/?p=1262"},"modified":"2011-12-17T12:34:17","modified_gmt":"2011-12-17T16:34:17","slug":"it-seems-you-can-sign-json-requests-with-oauth-thanks-opensocial","status":"publish","type":"post","link":"https:\/\/www.dr-chuck.com\/csev-blog\/2010\/10\/it-seems-you-can-sign-json-requests-with-oauth-thanks-opensocial\/","title":{"rendered":"It Seems You *CAN* Sign JSON Requests with OAuth (Thanks OpenSocial)"},"content":{"rendered":"<p>As I am investigating possible ways to get IMS to move to more REST-style bindings, I came across this nice bit of information:<\/p>\n<p><a href=\"http:\/\/blog.opensocial.org\/2009\/04\/important-oauth-signing-changes-coming.html\" target=\"_new\">http:\/\/blog.opensocial.org\/2009\/04\/important-oauth-signing-changes-coming.html<\/a><\/p>\n<p>It was written back in 2009 (I hope the April 1 date does not mean it is a joke!) and describes how to post JSON structures and sign them using OAuth.   It is already in place for iGoogle and orkut.<\/p>\n<p>They have also already built client libraries for (<a href=\"http:\/\/code.google.com\/p\/opensocial-java-client\/downloads\/detail?name=opensocial-20090402.jar\" target=\"_new\">Java<\/a>, <a href=\"http:\/\/code.google.com\/p\/opensocial-php-client\/downloads\/detail?name=opensocial-php-client-1.0.1.zip\"  target=\"_new\">PHP<\/a>, <a href=\"http:\/\/code.google.com\/p\/opensocial-python-client\/downloads\/detail?name=opensocial-python-client-0.2.0.zip\" target=\"_new\">Python<\/a>, <a href=\"http:\/\/code.google.com\/p\/opensocial-ruby-client\/downloads\/detail?name=opensocial-0.0.3.gem\"  target=\"_new\">Ruby<\/a>)<\/p>\n<p>This is very cool and *might* just be the REST-versus-SOAP breakthrough that we need.<\/p>\n<p>Here is a spec for <a href=\"http:\/\/oauth.googlecode.com\/svn\/spec\/ext\/body_hash\/1.0\/oauth-bodyhash.html\" target=\"_new\">OAuth Request Body Hashing<\/a><\/p>\n<p>Comments welcome &#8211; please.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As I am investigating possible ways to get IMS to move to more REST-style bindings, I came across this nice bit of information: http:\/\/blog.opensocial.org\/2009\/04\/important-oauth-signing-changes-coming.html It was written back in 2009 (I hope the April 1 date does not mean it is a joke!) and describes how to post JSON structures and sign them using OAuth. [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1262","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/posts\/1262","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/comments?post=1262"}],"version-history":[{"count":4,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/posts\/1262\/revisions"}],"predecessor-version":[{"id":2858,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/posts\/1262\/revisions\/2858"}],"wp:attachment":[{"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/media?parent=1262"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/categories?post=1262"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/tags?post=1262"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}