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 / RequestData

Interface: RequestData

Represents the data to be included in the HTTP request body.

This interface represents an object where the keys are property names and the values are property values. The structure of the data is flexible and can vary depending on the API endpoint and the data being sent.

Example:

const data: RequestData = {
  name: 'John Doe',
  age: 30
};

Indexable

[key: string]: unknown