Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

10 lines (7 sloc) 0.25 kb
request = require 'request'
exports.get = (uri) ->
return throw(new Error('URL is Required')) unless uri?
request(uri, json: true)
exports.post = (uri) ->
return thow(new Error('URL is Required')) unless uri?
request.post(uri, json: true)
Jump to Line
Something went wrong with that request. Please try again.