Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/live/deps.ts>InvokeHttpEndpointCommand

Open-Source web editor based on Preact, Tailwind and TypeScript. The other side of code.
Go to Latest
interface InvokeHttpEndpointCommand
implements CommandBase
import { type InvokeHttpEndpointCommand } from "https://deno.land/x/live@1.60.0/deps.ts";

Invoke the given http endpoint

Properties

name: "invoke_http_endpoint"
url: string
optional
method: string
optional
headers: Record<string, string>
optional
body: string
optional
responseFormat: "complete" | "body-only"