Advertisement
Guest User

Untitled

a guest
Apr 5th, 2020
297
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.94 KB | None | 0 0
  1. #Info zum video
  2. curl --location --request POST 'http://sf4.ait.ac.at/bigcluster/video/info' \
  3. --header 'Content-Type: application/json' \
  4. --data-raw '{
  5.     "url":"https://www.youtube.com/watch?v=WUVZbBBHrI4"
  6. }'
  7.  
  8. #Initierung des Downloads
  9. curl --location --request POST 'http://sf4.ait.ac.at/bigcluster/video/initiate_download' \
  10. --header 'Content-Type: application/json' \
  11. --data-raw '{
  12.     "url":"https://www.youtube.com/watch?v=WUVZbBBHrI4"
  13. }'
  14.  
  15. #Status des Downloads
  16. curl --location --request GET 'http://sf4.ait.ac.at/bigcluster/video/check/547ee0e2-3882-4473-bded-249c06c956f9' \
  17. --header 'Content-Type: application/json' \
  18. --data-raw '{
  19.     "url":"https://www.youtube.com/watch?v=WUVZbBBHrI4"
  20. }'
  21.  
  22. #Download
  23. curl --location --request GET 'http://sf4.ait.ac.at/bigcluster/video/download/547ee0e2-3882-4473-bded-249c06c956f9' \
  24. --header 'Content-Type: application/json' \
  25. --data-raw '{
  26.     "url":"https://www.youtube.com/watch?v=WUVZbBBHrI4"
  27. }'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement