@wordpress/api-fetch
Version:
Utility to make WordPress REST API requests.
9 lines • 344 B
TypeScript
export default httpV1Middleware;
/**
* API Fetch middleware which overrides the request method for HTTP v1
* compatibility leveraging the REST API X-HTTP-Method-Override header.
*
* @type {import('../types').APIFetchMiddleware}
*/
declare const httpV1Middleware: import("../types").APIFetchMiddleware;
//# sourceMappingURL=http-v1.d.ts.map