import { default } from "https://deno.land/x/tpy@v1.0.0-RC/mod.ts";
Makes a request to the API and creates possible errors according to the response.
Parameters
ctx: Context
The resource to request that will be concatenated with the API URL.
HTTP method to use. Currently, the Pylon API only uses GET and POST.
optional
requestInit: RequestInit = [UNSUPPORTED]Whether to parse out the body or not, default is true.