JSON request dispatcher
Last updated
Last updated
[io/http/JSON request dispatcher]
Dispatches HTTP request, expects response as JSON, parses it and outputs it as data. Outputs error if failed. More: https://github.com/Cranq-io/cranq-tutorials/tree/main/http_request
Keywords: get, post, put, patch, delete, fetch, api, json, data
JSON req.:
Receives request with JSON body.
data: any
Sends HTTP response message body as data. Example: { "userId": 1, "id": 1, "title": "delectus aut autem", "completed": false }"
response:
Sends original response.
error: {"error": string}