Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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
- Note: Unnecessary use of -X or --request, POST is already inferred.
- * Trying 104.196.232.237:443...
- * TCP_NODELAY set
- * Connected to sampleexpress-production.up.railway.app (104.196.232.237) port 443 (#0)
- * ALPN, offering h2
- * ALPN, offering http/1.1
- * successfully set certificate verify locations:
- * CAfile: /etc/ssl/certs/ca-certificates.crt
- CApath: /etc/ssl/certs
- *
- * SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
- * ALPN, server accepted to use h2
- * Server certificate:
- * subject: CN=*.up.railway.app
- * start date: Oct 28 18:00:05 2022 GMT
- * expire date: Jan 26 18:00:04 2023 GMT
- * subjectAltName: host "sampleexpress-production.up.railway.app" matched cert's "*.up.railway.app"
- * issuer: C=US; O=Let's Encrypt; CN=R3
- * SSL certificate verify ok.
- * Using HTTP2, server supports multi-use
- * Connection state changed (HTTP/2 confirmed)
- * Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
- * Using Stream ID: 1 (easy handle 0x560eae3e3ef0)
- > POST /awsupl/us-east-1/yayatv-dev/photo/small.png HTTP/2
- > Host: sampleexpress-production.up.railway.app
- > user-agent: curl/7.68.0
- > accept: */*
- > application: s3uploadservice.bubbleapps.io
- > x-aws-key-id: AKIEO
- > x-aws-secret-key: XxN90UTCoP
- > authorization: Bearer eyJhb...BT_IQ
- > content-length: 45834
- > content-type: application/x-www-form-urlencoded
- >
- * We are completely uploaded and fine
- * TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
- * TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
- * old SSL session ID is stale, removing
- * Connection state changed (MAX_CONCURRENT_STREAMS == 2147483647)!
- < HTTP/2 200
- < x-powered-by: Express
- < access-control-allow-origin: *
- < content-type: application/json; charset=utf-8
- < date: Wed, 02 Nov 2022 22:54:18 GMT
- < content-length: 505
- < x-envoy-upstream-service-time: 748
- < server: railway
- <
- * Connection #0 to host sampleexpress-production.up.railway.app left intact
- {"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