Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 824 Bytes

readme.md

File metadata and controls

26 lines (18 loc) · 824 Bytes

nets

Mac/Linux Windows Browsers
Travis Build status testling badge

nothin but nets. http client that works in node and browsers

uses xhr for browsers and request for node

var nets = require("nets")

nets({
    body: '{"foo": "bar"}',
    url: "/foo",
    method: "POST",
    headers: {
        "Content-Type": "application/json"
    }
}, function (err, resp, body) {

})