fivem-ts

a library to speed up the development of Fivem scripts and frameworks


Project maintained by Purpose-Dev Hosted on GitHub Pages — Theme by mattgraham

fivem-ts - Documentation v0.7.5Docs


fivem-ts - Documentation v0.7.5 / Server / RequestMethods

Type Alias: RequestMethods

RequestMethods: "GET" | "POST" | "PUT" | "DELETE"

Defines the allowed HTTP methods for making requests.

This type restricts the values to common HTTP methods. It is used to specify which HTTP method will be used for the request.

Possible values:

Example:

const method: RequestMethods = 'POST';

Defined in

server/web/makeRequest.ts:57