accept-json
Advanced tools
Comparing version 0.0.1 to 0.1.0
@@ -6,2 +6,3 @@ const http = require('http'); | ||
module.exports = function(baseUrl, options = {}) { | ||
@@ -8,0 +9,0 @@ return new ApiClient(new URL(baseUrl), options); |
{ | ||
"name": "accept-json", | ||
"version": "0.0.1", | ||
"version": "0.1.0", | ||
"description": "Simple client for HTTP JSON APIs", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
# accept-json | ||
Basic client for HTTP JSON APIs, not a replacement for the very popular [request](https://github.com/request/request) or [got](https://github.com/sindresorhus/got) packages. | ||
Basic client for HTTP JSON APIs, not a replacement for the very popular [request](https://github.com/request/request) and [got](https://github.com/sindresorhus/got) packages. | ||
@@ -5,0 +5,0 @@ The client can send request data as query parameters, JSON body, URL encoded body or plain text body, and expects responses to be returned as non compressed JSON body. |
Sorry, the diff of this file is not supported yet
13625
4