Dismiss Notice
Wynncraft, the Minecraft MMORPG. Play it now on your Minecraft client at (IP): play.wynncraft.com. No mods required! Click here for more info...

Why the public API got cloudflare bot protect?

Discussion in 'Questions' started by FYWinds, May 17, 2022.

Thread Status:
Not open for further replies.
  1. FYWinds

    FYWinds FYWinds CHAMPION

    Messages:
    4
    Likes Received:
    3
    Trophy Points:
    45
    Minecraft:
    Why you guys set cloudflare bot protect on the public api.
    My program written with python httpx can only get a 403 response when it tries to access the api.
    Testing it using curl is also impossible cause cloudflare will return a bot protext page that askes you to prove that you are a HUMAN!

    These are APIs and their purpose is to be accessed by machine/bot programs but not HUMANS.

    Is there anyway to pass through the bot protect and get access to these APIs?
    ________________________________
    Ok. I tested it on my other server which is located in HongKong. Seemed the protection is only for China Mainland.
    I want to setup my bot in the server in China Mainland, is there any solutions?
    ________________________________
    Problem solved by written a simple cloudflare worker.
     
    Last edited: May 17, 2022
Thread Status:
Not open for further replies.