Advertisement
rowntreerob

bubble io - bin file mover stdout sample

Oct 4th, 2021
1,762
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.68 KB | None | 0 0
  1. express$ curl -vvv -o mytst_jpg.jpeg http://localhost:3000/files/https%3A%2F%2Fs3.amazonaws.com%2Fyayatv-dev%2F3c6429451c4c3af2d8e18085f957e612_image.jpeg/https%3A%2F%2Fs3.amazonaws.com%2Fyayatv-dev%2F3c6429451c4c3af2d8e18085f957e612_image.jpeg
  2.  
  3.   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
  4.                                  Dload  Upload   Total   Spent    Left  Speed
  5.   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*   Trying 127.0.0.1:3000...
  6. * TCP_NODELAY set
  7. * Connected to localhost (127.0.0.1) port 3000 (#0)
  8. > GET /files/https%3A%2F%2Fs3.amazonaws.com%2Fyayatv-dev%2F3c6429451c4c3af2d8e18085f957e612_image.jpeg/https%3A%2F%2Fs3.amazonaws.com%2Fyayatv-dev%2F3c6429451c4c3af2d8e18085f957e612_image.jpeg HTTP/1.1
  9. > Host: localhost:3000
  10. > User-Agent: curl/7.68.0
  11. > Accept: */*
  12. >
  13.   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0* Mark bundle as not supporting multiuse
  14. < HTTP/1.1 200 OK
  15. < X-Powered-By: Express
  16. < Date: Sun, 03 Oct 2021 20:53:35 GMT
  17. < Connection: keep-alive
  18. < Keep-Alive: timeout=5
  19. < Transfer-Encoding: chunked
  20. <
  21. { [1657 bytes data]
  22. 100  321k    0  321k    0     0   164k      0 --:--:--  0:00:01 --:--:--  164k
  23. * Connection #0 to host localhost left intact
  24. rob@sample-node-express$ curl -vvv -o mytst_jpg.jpeg http://localhost:3000/files/https%3A%2F%2Fs3.amazonaws.com%2Fyayatv-dev%2F3c6429451c4c3af2d8e18085f957e612_image.jpeg/http%3A%2F%2Flocalhost%3A1337%2Fparse%2Ffiles%2Fpictur.jpg
  25.   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
  26.                                  Dload  Upload   Total   Spent    Left  Speed
  27.   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*   Trying 127.0.0.1:3000...
  28. * TCP_NODELAY set
  29. * Connected to localhost (127.0.0.1) port 3000 (#0)
  30. > GET /files/https%3A%2F%2Fs3.amazonaws.com%2Fyayatv-dev%2F3c6429451c4c3af2d8e18085f957e612_image.jpeg/http%3A%2F%2Flocalhost%3A1337%2Fparse%2Ffiles%2Fpictur.jpg HTTP/1.1
  31. > Host: localhost:3000
  32. > User-Agent: curl/7.68.0
  33. > Accept: */*
  34. >
  35.   0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0* Mark bundle as not supporting multiuse
  36. < HTTP/1.1 201 Created
  37. < X-Powered-By: Express
  38. < Date: Sun, 03 Oct 2021 21:58:20 GMT
  39. < Connection: keep-alive
  40. < Keep-Alive: timeout=5
  41. < Transfer-Encoding: chunked
  42. <
  43. { [192 bytes data]
  44. 100   181    0   181    0     0     73      0 --:--:--  0:00:02 --:--:--    73
  45.  
  46. *** json response from the destination service's API ***
  47. {"url":"http://localhost:1337/parse/files/067nHFWHCzs3KbPdyM6DxIGlszj5VFLnkX6uMrc7/a5a25817ec7290cb01f6b679dd7a6a2b_pictur.jpg","name":"a5a25817ec7290cb01f6b679dd7a6a2b_pictur.jpg"}
  48.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement