How can I fix the error 405?

Good morning,

for the past couple of days I’ve been experiencing problems with my website hosted thanks to cloudflare, every time I try to log into the site I get a 405 error saying “post method is not allowed”, I’ve tried taking out the proxies and changing all the cloudflare settings that could block the transmission of data from the server to the database I have connected but unfortunately nothing.

For the backend I use a php file using the POST method, as hosting I use Cloudflare Pages, I use Cloudflare to secure the site and I use PlanetScale as database.

I am sure the problem is not with the code, could someone help me?

Translated with DeepL Translate: The world's most accurate translator (free version)

1 Like