Skip to content

Instantly share code, notes, and snippets.

@onlytracks
Created March 28, 2016 15:07
Show Gist options
  • Save onlytracks/49f0b279064417abf0d9 to your computer and use it in GitHub Desktop.
Save onlytracks/49f0b279064417abf0d9 to your computer and use it in GitHub Desktop.
Freightview API Sample Auth
var request = require("request")
request
.get("https://www.freightview.com/api/authenticate")
.auth("<your_key>")
.pipe(process.stdout)
// Response: user@example.com successfully authenticated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment