forked from joepie91/node-bhttp
8 lines
157 B
CoffeeScript
8 lines
157 B
CoffeeScript
bhttp = require "./"
|
|
Promise = require "bluebird"
|
|
|
|
Promise.try ->
|
|
bhttp.get "https://google.com/"
|
|
.then (response) ->
|
|
console.log "Got response", response
|