1.1.4 • Published 2 years ago
@skycake/request v1.1.4
Making fetch requests object based and simpler. Built for microservices.
Requires project_root/skycake/request.options.json file. File example:
{
"methods": [
"post",
"get",
"put",
"delete",
"patch"
],
"services": [
{list of microservices}
],
"contentTypes": {
"html": "text/html",
"json": {
"type": "application/json",
"isJSON": true
},
"noContentType": "null"
},
"senders": [
"client",
"server"
]
}