I am new to clockify API integration. I want to retrieve all the workspaces. I am requesting 'https://api.clockify.me/api/workspaces/' this API & sending 'X-Api-Key' in the header. when I am requesting this API from postman I got (success response) all data as response. but when I am requesting this API from the browser I am getting '{"message": "Full authentication is required to access this resource", "code":1000}' this error response. what is wrong with it I don't understand.
Curl Request:
curl 'https://api.clockify.me/api/workspaces/' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Referer: http://localhost:4200/' \
-H 'Origin: http://localhost:4200' \
-H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.80 Safari/537.36' \
-H 'X-Api-Key: {API-Key}' --compressed
please help. Thank you in advance.