HTTP

Functions for working with HTTP requests and responses.

get(url, [options])

Executes a GET request.

post(url, jsonBody, [options])

Executes a POST request.

asResponse(value, [fromUri])

Packs a value in a read response format.

failedResponse(message, [value], [fromUri])

Packs a message in a failed read response format.

responseMeta(response)

Gets the response metadata.

isResponse(response)

Checks if a response is a valid read response.

isOK(response)

Checks if a response has an OK (2xx) status.

results matching ""

    No results matching ""