Robot Framework GET request returns 403 Forbidden while browser works (Cloudflare?)
enter image description here enter image description here I am testing a public REST API using Robot Framework (RequestsLibrary), but I consistently receive 403 Forbidden responses.
API endpoint: https://reqres.in/api/users/12
I tested the same endpoint in:
- Browser (manual) → works after Cloudflare verification
- Postman → 403 Forbidden
- Robot Framework → 403 Forbidden
Result:
- Status code: 403
- Response body: Cloudflare HTML page ("Just a moment...")
I understand this API is protected by Cloudflare, but I would like to know:
- Is there a proper way to call a Cloudflare-protected API using Robot Framework?
- Are there any headers, session settings, or best practices to avoid 403 in this case?
- Or is it expected that automation tools like Postman / Robot cannot access this API without browser verification?
Any explanation or confirmation would be appreciated.