rest adapter

A generic module to make rest calls

Example

This simple example will make an http request to postman-echo.com whenever it is being deployed.
The resource deployment will be a success if the api replied with a status code in the 2XX range.

import rest

rest::RESTCall(
    url="https://postman-echo.com/get",
    body={"a":"test", "b":{"c":3}},
    headers={"h":"x"},
)