Barely-there xhr for json
A tiny xhr+json library.
When all you do is fetch blobs of json superagent is just too much.
xall exposes one function, with the following signature:
({method = 'get', url, data, headers, query}, callback)
Arguments:
method: One of 'get', 'post', 'del' & 'put'. 'get' is default.
url: String.
data: Object.
headers: Object.
query: Object.