https://authzed.com logo
Title
h

Henko

07/06/2022, 4:31 AM
Hi! I'm trying to call the Watch API through HTTP locally, but I'm always getting 404, whatever body I'm sending. I thought all of the params are optional. Other HTTP API endpoints are working fine. I'm running spicedb on docker. What's the trick? I can't find any help.
curl --location --request POST 'http://localhost:8443/v1/watch' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer somerandomkeyhere' \
--data-raw '{}'
And I'm getting:
HTTP 404
{
    "code": 5,
    "message": "Not Found",
    "details": []
}