In REPL:

(oauth/request-token consumer "http://localhost:3000/callback/twitter";)

IllegalArgumentException No value supplied for key: 
http://localhost:3000/callback/twitter  
clojure.lang.PersistentHashMap.createWithCheck (PersistentHashMap.java:89)

If I do:

(oauth/request-token consumer "http://localhost:3000/callback/twitter"; 
"junk")

{:oauth_token "HzfxciDhS1gtQVgI3Q2HnjcGY5kRt2b45LAV8tnlos", 
:oauth_token_secret "grAV72ilyLFohdms1YyRtcde6ZQSWD2K1FdExXiV0vc", 
:oauth_callback_confirmed "true"}

clj-oauth makes no mention of this extra "hash map value." How is hashmap 
even coming into play for a function argument?

FWIW, when running with "lein ring server" instead of REPL, it works 
without the "junk" (and complains about the extra arg if "junk" is there).

So what is the REPL doing?

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to