Skip to content

Instantly share code, notes, and snippets.

@theycallmeswift
Created April 3, 2013 23:30
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save theycallmeswift/5306430 to your computer and use it in GitHub Desktop.
Save theycallmeswift/5306430 to your computer and use it in GitHub Desktop.
var request = require("request");
request({
uri: "http://data.mtgox.com/api/1/BTCUSD/ticker:80",
headers: {
"Accept": "*/*",
"Accept-Encoding": "gzip, deflate, compress",
"User-Agent": "HTTPie/0.3.1"
},
timeout: 10000
}, console.log);
console.log("Trying");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment