Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/tpy/src/tpy.ts>Tpy#readyRequest

🔑 A strongly typed Pylon API client.
Latest
method Tpy.prototype.readyRequest
import { Tpy } from "https://deno.land/x/tpy@v1.0.0-RC/src/tpy.ts";

A factory function with default headers, allowing optional specificity.

Parameters

method: HTTPVerbs

HTTP Method.

optional
other: RequestInit

Other fetch parameters.