I am having the same problem as described in the following topics. but these issues were closed without being resolved.
With the CF JS Challenge feature enabled on our site, in case the JS challenge is successful, the CF resends the original request with a __cf_chl_jschl_tk__ query param added to it. However, the problem is that the original request being a GET, cloudflare sends it back as a POST, hence changing the original method. And since no POST method is defined for that endpoint on our end, our server responds with a 404, obviously!
example:
GET: https://test.com/path/to/something-awesome
then CF js-cha…
I have been seeing ?__cf_chl_jschl_tk__= attached as query string attached to the URL. My understanding is that Cloudflare attached this after a user passes a challenge — no issue there.
But I don’t understand why some of those requests are sent as POST instead of GET. The URLs they are trying to access is available as GET only. So does CF change the request to POST when a user has completed a challenge, or did the user tries to access the URL via POST? There are a few instances of this and I c…
After JS challenge success, CF send request as POST even though it‘s a GET url , but my server not support post method for in this route request
Is there a solution?
fritex
April 4, 2022, 3:26am
#2
If the request from the server IP is being challenged, may I ask did you already tried adding your server IP to Security (Firewall) → Tools → IP Access Rules with the action “allow” for your Website?
Thanks for your answer, but by my server I mean the server the website is running on. Client requests have this problem.
Where are you seeing the POST request?
system
closed
April 22, 2022, 2:13pm
#5
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.