Skip to content

@minecraft/server-net


@minecraft/server-net / HttpRequestMethod

Enumeration: HttpRequestMethod

Defined in: index.d.ts:25

Enumeration Members

DELETE

DELETE: "DELETE"

Defined in: index.d.ts:32

Represents the method for an HTTP HEAD request. HEAD requests are similar to a GET request, but are commonly used to retrieve just the HTTP response headers from the specified URI, and not the body contents.


GET

GET: "GET"

Defined in: index.d.ts:38

Represents the method for an HTTP PUT request. POST requests are commonly used to create a new resource that is a subordinate of the specified URI.


HEAD: "HEAD"

Defined in: index.d.ts:44

Represents the method for an HTTP PUT request. GET requests are commonly used to retrieve information about a resource at the specified URI.


POST

POST: "POST"

Defined in: index.d.ts:50

Represents the method for an HTTP PUT request. GET requests are commonly used to retrieve information about a resource at the specified URI.


PUT

PUT: "PUT"

Defined in: index.d.ts:56

Represents the method for an HTTP PUT request. PUT requests are commonly used to update a single resource that already exists in a resource collection.