Join Slack
Powered by
This message was deleted.
# ask-for-help
s
Slackbot
09/07/2023, 12:55 PM
This message was deleted.
c
Chaoyu
09/07/2023, 1:12 PM
Hi Slavik, I assume you’ve created an API token from the bentocloud UI? You can use cURL (or any HTTP client library) and specify the Authorization header, e.g.: curl -H "Authorization: Bearer {YOUR_TOKEN_HERE}"
http://deployment.org_name.bentoml.ai/
For testing and development, you can try use this chrome plugin to inject the header so you can access the Bento UI:
https://chrome.google.com/webstore/detail/header-inject/cfmhknohjdjilpokjpdopankilegcglf?hl=en-GB
Chaoyu
09/07/2023, 1:13 PM
Related docs can be found here
https://docs.bentoml.com/en/latest/bentocloud/how-tos/manage-access-token.html#using-the-user-token
s
Slavik Shen
09/07/2023, 1:13 PM
Thanks
Slavik Shen
09/07/2023, 1:24 PM
I get 504 Gateway Time-out. I do see 2 replicas running. But the server doesn’t return anything.
c
Chaoyu
09/07/2023, 1:29 PM
Let me DM you
s
Slavik Shen
09/07/2023, 1:30 PM
kk
5
Views
Open in Slack
Previous
Next