Hi, This is the way I found out for an OAuth NONE flow :
# getting the access token, curl --data "grant_type=none&client_id=1234567890&client_secret=1234567890&scope=foo" http://serverHost:8080/oauth/access_token # it returns the access token # Using the access token to access protected resources # A simple GET request curl -G http://serverHost:8080/server/protected?oauth_token=$access_token_returned_in_prev_command Regards Lokendra On Tue, May 31, 2011 at 1:20 PM, Sebastian Wenninger < [email protected]> wrote: > It should be possible if you have a proper Token and know exactly how to > provide it (in the Headers, the Post-Body...) to your resource. > Depends on the Provider i guess. > You can also look at the > http://tools.ietf.org/html/draft-ietf-oauth-v2-16 > OAuth-Specification > for further information. > > -- > View this message in context: > http://restlet-discuss.1400322.n2.nabble.com/Using-cURL-to-access-OAuth-protected-resources-tp6419891p6421751.html > Sent from the Restlet Discuss mailing list archive at Nabble.com. > > ------------------------------------------------------ > > http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2754317 > ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2754339

