Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Info zum video
- curl --location --request POST 'http://sf4.ait.ac.at/bigcluster/video/info' \
- --header 'Content-Type: application/json' \
- --data-raw '{
- "url":"https://www.youtube.com/watch?v=WUVZbBBHrI4"
- }'
- #Initierung des Downloads
- curl --location --request POST 'http://sf4.ait.ac.at/bigcluster/video/initiate_download' \
- --header 'Content-Type: application/json' \
- --data-raw '{
- "url":"https://www.youtube.com/watch?v=WUVZbBBHrI4"
- }'
- #Status des Downloads
- curl --location --request GET 'http://sf4.ait.ac.at/bigcluster/video/check/547ee0e2-3882-4473-bded-249c06c956f9' \
- --header 'Content-Type: application/json' \
- --data-raw '{
- "url":"https://www.youtube.com/watch?v=WUVZbBBHrI4"
- }'
- #Download
- curl --location --request GET 'http://sf4.ait.ac.at/bigcluster/video/download/547ee0e2-3882-4473-bded-249c06c956f9' \
- --header 'Content-Type: application/json' \
- --data-raw '{
- "url":"https://www.youtube.com/watch?v=WUVZbBBHrI4"
- }'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement