How do I make a delay for a http requests?

So I’m trying to get a http request from my website.
My website has cloudflare Under attack mode enabled, meaning that it scans everyone who tries to access my website if there is an attack ongoing. Since this is enabled, roblox cant make the http request since it gets the cloudflare message. Is there a way I can make the http request roblox sends wait for the site to “fully” load or wait until the cloudflare under attack mode scanner has finished?

Thanks in advance :slight_smile:

1 Like

you could try utilizing a proxy for this, i am not too sure but i think you can also whitelist certain IPs, such as roblox’s servers IPs.

1 Like

Could you send me the roblox ips roblox uses for https requests? Unless they change regularly…

Otherwise, how would i use a proxy for this? Like what are the steps? Thanks again.

1 Like

you can use this for the IPs
and for the proxy, you’d have to call it from roblox and load it there (you should whitelist the IP too) then just return what you want, but this pretty hard to do

1 Like

Use task.delay. It’s common sense, I don’t know why you’re asking this…

1 Like

Doesn’t really work like that bud.

2 Likes

so if I whitelist all those IPs, it should be fine?

1 Like

This sounds like you may have more success asking on the Cloudflare forums

For instance

https://community.cloudflare.com/t/under-atacck-mode-blocks-rest-api-on-wp-webiste/399889/2

I say that because you will not get around the under attack prompt from the roblox side—it’s whole intention is to block non-browsers, and I do not believe it’s suitable for an api like you have. I’m not certain though.

2 Likes

It won’t work, because those ip sometimes change.

ayo you wake me from my slumber!!!

Also, pretty sure the list is outdated, don’t get too excited.