We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b06efa5 commit 94add5aCopy full SHA for 94add5a
1 file changed
src/test/java/org/scribe/examples/TwitterExample.java
@@ -46,7 +46,7 @@ public static void main(String[] args)
46
47
// Now let's go and ask for a protected resource!
48
System.out.println("Now we're going to access a protected resource...");
49
- OAuthRequest request = new OAuthRequest(Verb.POST, PROTECTED_RESOURCE_URL);
+ OAuthRequest request = new OAuthRequest(Verb.GET, PROTECTED_RESOURCE_URL);
50
request.addBodyParameter("status", "this is sparta! *");
51
service.signRequest(accessToken, request);
52
Response response = request.send();
@@ -58,4 +58,4 @@ public static void main(String[] args)
58
System.out.println("Thats it man! Go and build something awesome with Scribe! :)");
59
}
60
61
-}
+}
0 commit comments