I’m building a dynamic SvelteKit application, which makes get and post requests to several URLs. When hosting on Netlify, everything works and functions as expected.
On the Cloudflare Pages version, when the application makes HTTP post requests, Cloudflare logs a 405 Method Not Allowed
error in the browser. (Note: this error is not happening when making HTTP post requests from Netlify, or in local development.)
Is there anything I can do to address this, and successfully send HTTP post requests from the Cloudflare Pages hosted site?