method
method:
| "GET"
| "POST"
| "PUT"
| "PATCH"
| "DELETE"
path
path: string
requestBody
requestBody: undefined | string | FormData
responseBody
responseBody:
| null
| string
| Buffer
| Record<string, unknown>
route
route: string
withAuth
withAuth: boolean
the method of the request