Robot Framework GET request returns 403 Forbidden while browser works (Cloudflare?)
09:31 23 Dec 2025

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:

  1. Is there a proper way to call a Cloudflare-protected API using Robot Framework?
  2. Are there any headers, session settings, or best practices to avoid 403 in this case?
  3. Or is it expected that automation tools like Postman / Robot cannot access this API without browser verification?

Any explanation or confirmation would be appreciated.

postman robotframework