a library to speed up the development of Fivem scripts and frameworks
fivem-ts - Documentation v0.7.5 • Docs
fivem-ts - Documentation v0.7.5 / Server / 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';