If I run the following command everything runs as expected
curl -i -X GET https://[cloudflare-site.com]
if I run
curl -i -X RANDOM https://[cloudflare-site.com]
I would expect to get a 405 response but instead I get 400. Is this normal for Cloudflare or have do I have a dodgy setting somewhere?
I can’t replicate this on a Worker or on any Cloudflare sites that I know of - either it succeeds or I get a 501 Not Implemented
501 Not Implemented
Thanks @KianNH. After some more digging this appears to be an AWS ELB “feature” They appear to have a white list of methods and if you pass a method that they do not recognise they return a 400 rather than a 405 for some reason.
For anyone interested here is the link to there docs on this matter
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.