Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- > curl -v -X POST -d @/home/vovka/Desktop/foto/181114_L_g4_ap1336-dec-edit222-1024x768.jpg "https://www.afisha.ru/rests/admin/news/image/upload/"
- Note: Unnecessary use of -X or --request, POST is already inferred.
- * Trying 81.19.92.83...
- * TCP_NODELAY set
- * Connected to www.afisha.ru (81.19.92.83) port 443 (#0)
- * ALPN, offering h2
- * ALPN, offering http/1.1
- * Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
- * successfully set certificate verify locations:
- * CAfile: /usr/local/share/certs/ca-root-nss.crt
- CApath: none
- * TLSv1.2 (OUT), TLS header, Certificate Status (22):
- * TLSv1.2 (OUT), TLS handshake, Client hello (1):
- * TLSv1.2 (IN), TLS handshake, Server hello (2):
- * TLSv1.2 (IN), TLS handshake, Certificate (11):
- * TLSv1.2 (IN), TLS handshake, Server key exchange (12):
- * TLSv1.2 (IN), TLS handshake, Server finished (14):
- * TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
- * TLSv1.2 (OUT), TLS change cipher, Client hello (1):
- * TLSv1.2 (OUT), TLS handshake, Finished (20):
- * TLSv1.2 (IN), TLS change cipher, Client hello (1):
- * TLSv1.2 (IN), TLS handshake, Finished (20):
- * SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
- * ALPN, server accepted to use http/1.1
- * Server certificate:
- * subject: CN=*.afisha.ru
- * start date: Jul 18 00:00:00 2018 GMT
- * expire date: Jan 20 12:00:00 2019 GMT
- * subjectAltName: host "www.afisha.ru" matched cert's "*.afisha.ru"
- * issuer: C=US; O=DigiCert Inc; OU=www.digicert.com; CN=RapidSSL RSA CA 2018
- * SSL certificate verify ok.
- > POST /rests/admin/news/image/upload/ HTTP/1.1
- > Host: www.afisha.ru
- > User-Agent: curl/7.61.0
- > Accept: */*
- > Content-Length: 74250
- > Content-Type: application/x-www-form-urlencoded
- > Expect: 100-continue
- >
- < HTTP/1.1 100 Continue
- * We are completely uploaded and fine
- < HTTP/1.1 502 Bad Gateway
- < Server: nginx/1.14.0
- < Date: Thu, 30 Aug 2018 14:55:49 GMT
- < Content-Type: text/html
- < Content-Length: 1558
- < Connection: keep-alive
- < Keep-Alive: timeout=50
- < ETag: "5747ea11-616"
- < Set-Cookie: ruid=ugsAAHUFiFuIff+eAbIjAAB=; expires=Thu, 31-Dec-37 23:55:55 GMT; domain=.afisha.ru; path=/
- < P3P: CP="NON DSP NID ADMa DEVa TAIa PSAa PSDa OUR IND UNI COM NAV"
- <
Advertisement
Add Comment
Please, Sign In to add comment