UNPKG
ghunti-devour-client
Version:
latest (2.0.6)
2.0.6
2.0.5
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
A lightweight, framework agnostic, flexible JSON API client
github.com/twg/devour
ghunti/devour
ghunti-devour-client
/
lib
/
middleware
/
request.js
9 lines
(8 loc)
•
170 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
'use strict'
;
module
.
exports
= {
name
:
'axios-request'
,
req
:
function
req
(
payload
) {
var
jsonApi = payload.
jsonApi
;
return
jsonApi.
axios
(payload.
req
); } };