Ok so it appears this does not work:
RestAssured.oauth(consumerKey, consumerSecret, accessToken, secretToken);
But this does:
Response myResponse = given().auth().oauth(consumerKey, consumerSecret, accessToken, secretToken).param("term", "star wars").get("/catalog/titles/autocomplete");
Why is this?
Next, 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. Is there a configuration I can set to not request encoding?
Thanks,
Jason