sahaya / rest-assured

Automatically exported from code.google.com/p/rest-assured
0 stars 0 forks source link

Static oauth configuration doesn't work #200

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
RestAssured.oauth(consumerKey, consumerSecret, accessToken, secretToken);

doesn't seem to work but this does:

Response myResponse = given().auth().oauth(consumerKey, consumerSecret, 
accessToken, secretToken).param("term", "star 
wars").get("/catalog/titles/autocomplete");

I noticed the response came back with encoding=gzip, which it normally doesn't. 
 In my .Net implementation it returns an XML response.  The content-type is 
application/xml.

Original issue reported on code.google.com by johan.ha...@gmail.com on 9 Oct 2012 at 6:22

GoogleCodeExporter commented 9 years ago
We've changed to scribe now, hopefully this will work.

Original comment by johan.ha...@gmail.com on 22 Jan 2014 at 10:00