ResourceMethods interface

Defines the methods that can be called on a resource

Properties

delete

Definition of the DELETE HTTP method for a resource

get

Definition of the GET HTTP method for a resource

head

Definition of the HEAD HTTP method for a resource

options

Definition of the OPTIONS HTTP method for a resource

patch

Definition of the PATCH HTTP method for a resource

post

Definition of the POST HTTP method for a resource

put

Definition of the PUT HTTP method for a resource

trace

Definition of the TRACE HTTP method for a resource

Property Details

delete

Definition of the DELETE HTTP method for a resource

delete: (options?: RequestParameters) => TResponse

Property Value

(options?: RequestParameters) => TResponse

get

Definition of the GET HTTP method for a resource

get: (options?: RequestParameters) => TResponse

Property Value

(options?: RequestParameters) => TResponse

head

Definition of the HEAD HTTP method for a resource

head: (options?: RequestParameters) => TResponse

Property Value

(options?: RequestParameters) => TResponse

options

Definition of the OPTIONS HTTP method for a resource

options: (options?: RequestParameters) => TResponse

Property Value

(options?: RequestParameters) => TResponse

patch

Definition of the PATCH HTTP method for a resource

patch: (options?: RequestParameters) => TResponse

Property Value

(options?: RequestParameters) => TResponse

post

Definition of the POST HTTP method for a resource

post: (options?: RequestParameters) => TResponse

Property Value

(options?: RequestParameters) => TResponse

put

Definition of the PUT HTTP method for a resource

put: (options?: RequestParameters) => TResponse

Property Value

(options?: RequestParameters) => TResponse

trace

Definition of the TRACE HTTP method for a resource

trace: (options?: RequestParameters) => TResponse

Property Value

(options?: RequestParameters) => TResponse