ApiRequestOptions: {
    body?: any;
    cookies?: Record<string, any>;
    errors?: Record<number, string>;
    formData?: Record<string, any>;
    headers?: Record<string, any>;
    mediaType?: string;
    method: "GET" | "PUT" | "POST" | "DELETE" | "OPTIONS" | "HEAD" | "PATCH";
    path?: Record<string, any>;
    query?: Record<string, any>;
    responseHeader?: string;
    url: string;
}

Type declaration

  • Optional Readonly body?: any
  • Optional Readonly cookies?: Record<string, any>
  • Optional Readonly errors?: Record<number, string>
  • Optional Readonly formData?: Record<string, any>
  • Optional Readonly headers?: Record<string, any>
  • Optional Readonly mediaType?: string
  • Readonly method: "GET" | "PUT" | "POST" | "DELETE" | "OPTIONS" | "HEAD" | "PATCH"
  • Optional Readonly path?: Record<string, any>
  • Optional Readonly query?: Record<string, any>
  • Optional Readonly responseHeader?: string
  • Readonly url: string