Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/blocks/deps.ts>InvokeHttpEndpointCommand

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