I have jQuery making a post request to my api. Only some times, jQuery reports an error because the api returns a 403 HTTP error. Looking at the request with Chrome’s developer tools -> response -> I see that Cloudflare is requesting a captcha to be solved. “Please enable cookies. One more step Please complete the security check to access <website.com>”
How am I supposed to get around this? Again, its a request made by $.post(), so the client doesn’t actually see the captcha page.