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

x/deco/deps.ts>InvokeHttpEndpointCommand

Git-based Visual CMS for Deno, </> htmx and Tailwind apps. Deploy on any Deno-compatible host.
Go to Latest
interface InvokeHttpEndpointCommand
implements CommandBase
import { type InvokeHttpEndpointCommand } from "https://deno.land/x/deco@1.75.1/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"