Hello, i’m using Unity/c# for my game. I’m trying to access some restAPI.
When i do a request (I’ve added user-agent and content-type params), I get an HTTP 403 response.
and some CF headers. I think CF has blocked my call. I’m not sure what I need to do to solve this.
This API was written for the website, but I’m trying to reuse it with my application.
When i open this site, it asks to verify you’re a human, but I’m not sure how to do the same in the application.
If your DNS record(s) for your public hostname, such as venta.games is proxied , the Cloudflare features such as speed & optimization, Security & WAF, are applied, therefrom triggered if so.
You should be able to see the challenged or blocked event under the Security tab → Events at Cloudflare dashboard for your zone and know exactly which security option was triggered.
Once you find them, click on a particular one to find more details about it (user-agent, IP, HTTP version …). If yes, could you share some details which service was triggered that blocked you?
It knows to happen due to the service using HTTP/1.0 and/or empty user-agent, therefore while executing cron or some other related JSON/REST API request via plugin(s) which triggers the WAF rules (as it should normally).