Clone and edit this document
Runkit
Runkit
home page
user forum
new notebook
clone notebook
download notebook
support & documentation
log in
sign up
new notebook
help & feedback
clone this notebook
download this notebook
Sign In
Sign Up
tonic + npm: request
node v6.17.1
version:
1.0.0
endpoint
share
tweet
var r = require("request") r("http://goo.gl/PBtXyS", {followRedirect: false}, function(error, response, body){ console.log(response.headers.location) })
Created from: https://tonicdev.com/npm/request
Loading…
no comments
sign in
to comment