Im total new to cloudflare, and i having trouble

hi guys,

I had contacted the Cloudflare support but taking a day to response, so i wanted to ask here, if anyone facing the same issue as me, im new to Cloudflare service, i like their service, but somehow, dont know how, whenever i enable under attack mode, Cloudflare wont allow my web application to perform HTTP POST request to my backend.

Any experienced user here please advise me how to configure it to allow my web app perform call

the http call is simple as

Under Attack mode puts up a Javascript challenge. This will break automated connections that can’t process the Javascript challenge: “Note: Visitors to the site must have JavaScript and Cookies enabled to pass the interstitial page.”

The only way around this would be to whitelist your IP address, but if the web app is widely deployed, that’s not an option.

Why not lower the security threshold to “High”?

1 Like

because we are performing a testing, and must provide report to client that website is working fine when under attack, it might be slower but we need to prove still online.

as you mentioned, the javascript challenge, is it possible to setup in my web application to allow it pass the challenge, or anywhere to verify my web appllication itself?

I can’t imagine there’s any safe way to do this. This would imply there’s a way for an external resource to trigger a security bypass.

There’s an outside chance you could set up a Worker to check for a secret access key to bypass the challenge, but I’m very new to Workers.

1 Like

You can enable/ disable i am under attack mode using page rules and not have it enabled for the path used for your app to post.


@sdayman your suggestion are brilliant, but i never try this before, might take a look on that, for now i will adopt a simple and fast solution that @cs-cf mentioned. Thanks for your advice :slight_smile:

@cs-cf ok, i had set security level to “High” for certain API, it works, one thing i concern, will those APIs loss its proper DDoS security? im reading the description of “High” Security Level, im not sure the protection behavior

1 Like

Post requests don’t support being challenged in the way IAUM works, so the level of DDoS .protection is the best available for the method in use.

1 Like

I see, awesome services provided :smile: thanks for both of your helps, appreciated!


This topic was automatically closed after 14 days. New replies are no longer allowed.