https://authzed.com logo
#spicedb
Title
# spicedb
h

henko8

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.
Copy code
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:
Copy code
HTTP 404
{
    "code": 5,
    "message": "Not Found",
    "details": []
}