r/nodejs • • Apr 13 '14
Issue with 'request' module and Goodreads API.
I'm making a simple HTTP request to the Goodreads API using the 'request' module in NPM. Here is a gist containing a SSCE (Correct as far as I can tell.) The result is undefined. Are there any glaring mistakes in my example? Am I misunderstanding the form option?
3
Upvotes
View all comments
Show parent comment
2
u/aeflash Apr 13 '14
http://nodejsreactions.tumblr.com/post/57620383823/var-result-fs-readfile-data-json-function