URL-encoded request dispatcher
Last updated
Last updated
[io/http/URL-encoded request dispatcher]
Dispatches HTTP request with an URL encoded body, expects response as JSON, parses it and outputs it as data. Outputs error if failed.
Keywords: get, post, put, patch, delete, fetch, api, url, encoding, data
URL-enc. req.:
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}