Skip to main content
Module

x/live/deps.ts>InvokeHttpEndpointCommand

The edge-native DXP: build and evolve an editable ultra-fast site powered by deno, fresh and tailwind. Optimized for "time-to-go-live".
Very Popular
Go to Latest
interface InvokeHttpEndpointCommand
implements CommandBase
import { type InvokeHttpEndpointCommand } from "https://deno.land/x/live@1.2.1/deps.ts";

Invoke the given http endpoint

Type Parameters

optional
TBody = unknown

Properties

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