devowl-wp
    Preparing search index...
    • Set a request as failing so the endpoint is probably corrupt (see corruptRestApi.tsx)

      Please consider the following:

      The fetch() function will automatically throw an error for network errors but not for HTTP errors such as 4xx or 5xx responses.

      Parameters

      • __namedParameters: Partial<
            {
                body: ReadableStream<Uint8Array<ArrayBufferLike>>;
                bodyUsed: boolean;
                cache: RequestCache;
                credentials: RequestCredentials;
                destination: RequestDestination;
                headers: Headers;
                integrity: string;
                keepalive: boolean;
                method: string;
                mode: RequestMode;
                redirect: RequestRedirect;
                referrer: string;
                referrerPolicy: ReferrerPolicy;
                signal: AbortSignal;
                url: string;
                arrayBuffer(): Promise<ArrayBuffer>;
                blob(): Promise<Blob>;
                bytes(): Promise<Uint8Array<ArrayBufferLike>>;
                clone(): Request;
                formData(): Promise<FormData>;
                json(): Promise<any>;
                text(): Promise<string>;
            },
        >
      • OptionaladdNamespaceImmediate: string

      Returns void