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 / put
put<
T>(url,data,headers):Promise<T>
Makes a PUT request.
• T
• url: string
The URL to which the request is sent.
• data: RequestData
The request body data.
• headers: RequestHeaders = {}
Optional headers to include in the request.
Promise<T>
A promise that resolves to the response data of type T.