Browser Rendering rest api Authentication failed

I want to test out Browser Rendering REST API but it will always fail to authenticate
curl -X 'POST' 'https://api.cloudflare.com/client/v4/accounts/1234567890/browser-rendering/content' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer TOKEN' \
-d '{
"url": "https://www.google.com"
}'
{"success":false,"errors":[{"message":"Authentication failed","code":10000}]}
curl -X 'POST' 'https://api.cloudflare.com/client/v4/accounts/1234567890/browser-rendering/content' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer TOKEN' \
-d '{
"url": "https://www.google.com"
}'
{"success":false,"errors":[{"message":"Authentication failed","code":10000}]}
i've got the correct token (account api token) and account id... anyone else having this issue?|
No description
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?