Interface HttpDeleteConfig

Configuration for HTTP DELETE requests, extending HttpConfig with an optional request body.

Hierarchy

Properties

data?: any

Request body data.

Works similarly to axios config.data.

Example:

Eitri.http.delete('https://myaddress.com', {
data: { ids: [1, 2, 3] },
headers: { "Content-Type": "application/json" }
})
headers?: object
timeout?: number

milissegundos

followRedirects?: boolean

Whether to automatically follow HTTP redirects (3xx status codes). When set to false, the response will be returned immediately without following redirects.

Default

true

Compatibility Control

  • API LEVEL 32 - Functionality added

Generated using TypeDoc