Skip to main content
Module

x/netzo/mod.ts>IRequest

SDK for Netzo, the open Web platform to unify IoT devices, applications and services.
Go to Latest
interface IRequest
Re-export
import { type IRequest } from "https://deno.land/x/netzo@v0.1.34/mod.ts";

Index Signatures

[key: string | symbol]: unknown

Properties

_id: string
_type: "request"
workspaceId: string
access: { level: "private" | "public"; }
name: string
description: string
method:
| "GET"
| "POST"
| "PUT"
| "PATCH"
| "DELETE"
url: string
optional
params: Record<string, string>
authorization: Authorization
optional
headers: Record<string, string>
optional
body: string
optional
variables: Record<string, string>
hooks: { beforeFetch: string; afterFetch: string; onFetchError: string; }
ref: { _id?: string; _type?: "service" | "worker" | "workflow"; base?: IRequestBase; }