HttpRequestConfiguration

@prismatic-io/spectral"types"HttpRequestConfiguration

Request specification.

Hierarchy

  • HttpRequestConfiguration

Index

Properties

Properties

body

body: any

Body of the request.


headers

headers: Record‹string, string›

Headers to send with the request.


method

method: "GET" | "PUT" | "POST" | "PATCH" | "DELETE" | "HEAD"

Method of the HTTP request.


params

params: Record‹string, string›

Parameters to send with the request.


url

url: string

URL to send the HTTP request to.

Last updated on