Skip to content
Flint
Dokumentation

http

modulPaperVelocity

HTTP requests to web APIs and webhooks. Requests never block the server.

import http

Funktioner 4

GET request. Returns a response with status, ok, body and headers.

POST request. A map or list body is sent as JSON; anything else as text.

Request with any method: PUT, PATCH, DELETE...

GET request that returns the decoded JSON body. Fails if the status is not 2xx.