JSON request dispatcher
[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
Input ports
JSON req.:
Receives request with JSON body.
Output ports
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}
Last updated