Advertisement
rowntreerob

AWS upload via helper to bubble.io

Nov 2nd, 2022 (edited)
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.71 KB | Software | 0 0
  1. curl -vvv -X POST --data-binary '@public/pics/small.png' -H "application: s3uploadservice.bubbleapps.io" -H "X-Aws-Key-Id: AKJEO" -H "X-Aws-Secret-Key: XxN90/nUTCoP" -H "authorization: Bearer eyJhbG...NmBT_IQ" https://sampleexpress-production.up.railway.app/awsupl/us-east-1/yayatv-dev/photo/small.png
  2. Note: Unnecessary use of -X or --request, POST is already inferred.
  3. * Trying 104.196.232.237:443...
  4. * TCP_NODELAY set
  5. * Connected to sampleexpress-production.up.railway.app (104.196.232.237) port 443 (#0)
  6. * ALPN, offering h2
  7. * ALPN, offering http/1.1
  8. * successfully set certificate verify locations:
  9. * CAfile: /etc/ssl/certs/ca-certificates.crt
  10. CApath: /etc/ssl/certs
  11. *
  12. * SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
  13. * ALPN, server accepted to use h2
  14. * Server certificate:
  15. * subject: CN=*.up.railway.app
  16. * start date: Oct 28 18:00:05 2022 GMT
  17. * expire date: Jan 26 18:00:04 2023 GMT
  18. * subjectAltName: host "sampleexpress-production.up.railway.app" matched cert's "*.up.railway.app"
  19. * issuer: C=US; O=Let's Encrypt; CN=R3
  20. * SSL certificate verify ok.
  21. * Using HTTP2, server supports multi-use
  22. * Connection state changed (HTTP/2 confirmed)
  23. * Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
  24. * Using Stream ID: 1 (easy handle 0x560eae3e3ef0)
  25. > POST /awsupl/us-east-1/yayatv-dev/photo/small.png HTTP/2
  26. > Host: sampleexpress-production.up.railway.app
  27. > user-agent: curl/7.68.0
  28. > accept: */*
  29. > application: s3uploadservice.bubbleapps.io
  30. > x-aws-key-id: AKIEO
  31. > x-aws-secret-key: XxN90UTCoP
  32. > authorization: Bearer eyJhb...BT_IQ
  33. > content-length: 45834
  34. > content-type: application/x-www-form-urlencoded
  35. >
  36. * We are completely uploaded and fine
  37. * TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
  38. * TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
  39. * old SSL session ID is stale, removing
  40. * Connection state changed (MAX_CONCURRENT_STREAMS == 2147483647)!
  41. < HTTP/2 200
  42. < x-powered-by: Express
  43. < access-control-allow-origin: *
  44. < content-type: application/json; charset=utf-8
  45. < date: Wed, 02 Nov 2022 22:54:18 GMT
  46. < content-length: 505
  47. < x-envoy-upstream-service-time: 748
  48. < server: railway
  49. <
  50. * Connection #0 to host sampleexpress-production.up.railway.app left intact
  51. {"calls":[{"$metadata":{"httpStatusCode":200,"requestId":"A4XDET8ZP5DCMMCT","extendedRequestId":"J7Lv01lTlVhXCEJl2a6H24idFkpRhOJUtAXwMqxkk0bCBO41L7rv1SmMFnrqm3SrPvXtMRtFH1k=","attempts":1,"totalRetryDelay":0},"ETag":"\"d41d8cd98f00b204e9800998ecf8427e\"","Bucket":"yayatv-dev","Key":"photo/N7extAm0Ux_yT8iOTZYFs/small.png","Location":"https://yayatv-dev.yayatv-dev.s3.us-east-1.amazonaws.com/photo/N7extAm0Ux_yT8iOTZYFs/small.png"},{"filename":"small.png","path":"photo/N7extAm0Ux_yT8iOTZYFs/small.png"}]}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement