-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add and update cURL examples #558
Conversation
szuperaz
commented
May 10, 2024
•
edited
Loading
edited
- Add missing cURL examples
- Test all cURL examples
- Make sure that cURL examples use v2 endponts
- Add example for token creation without SDK
bd7736f
to
4c403f1
Compare
|
||
<TabItem value="bash" label="Bash"> | ||
|
||
```bash |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested, and the resulting token is accepted by the Stream API, but please still review just in case I missed something
@@ -84,9 +83,9 @@ call.start_recording(recording_external_storage= "my-s3") | |||
|
|||
```bash | |||
curl -X POST https://video.stream-io-api.com/video/external_storage?api_key=${API_KEY} \ | |||
-H "Authorization: ${JWT_TOKEN}" \ | |||
-H "Content-Type: application/json" \ | |||
-H "Authorization: ${TOKEN}" \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://video.stream-io-api.com/api/v2/external_storage
isn't working so I left the old URL here
e23f1fe
to
a32423e
Compare