Skip to content

Instantly share code, notes, and snippets.

@sebdah
Last active May 24, 2019 04:10
Show Gist options
  • Save sebdah/6dabdf61edf6cbcfef437891b6c59a87 to your computer and use it in GitHub Desktop.
Save sebdah/6dabdf61edf6cbcfef437891b6c59a87 to your computer and use it in GitHub Desktop.
⟩ curl -v 'http://api.pay.bk.ikmanit.com/Bikroy_Adapters/v1/pay_invoice?ref_no=990210792' [06:07:49]
* Trying 52.163.191.103...
* TCP_NODELAY set
* Connected to api.pay.bk.ikmanit.com (52.163.191.103) port 80 (#0)
> GET /Bikroy_Adapters/v1/pay_invoice?ref_no=990210792 HTTP/1.1
> Host: api.pay.bk.ikmanit.com
> User-Agent: curl/7.64.1
> Accept: */*
>
< HTTP/1.1 302
< Location: https://payment.portwallet.com/payment/?invoice=85CE76E843A15629&default_network=bkash
< Content-Length: 0
< Date: Fri, 24 May 2019 04:09:44 GMT
<
* Connection #0 to host api.pay.bk.ikmanit.com left intact
* Closing connection 0
⟩ curl -v 'https://pay.bikroy.com/?ref_no=990210792' [06:07:44]
* Trying 104.16.37.67...
* TCP_NODELAY set
* Connected to pay.bikroy.com (104.16.37.67) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (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, Change cipher spec (1):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-ECDSA-CHACHA20-POLY1305
* ALPN, server accepted to use h2
* Server certificate:
* subject: OU=Domain Control Validated; OU=PositiveSSL Multi-Domain; CN=ssl503330.cloudflaressl.com
* start date: Mar 14 00:00:00 2019 GMT
* expire date: Sep 20 23:59:59 2019 GMT
* subjectAltName: host "pay.bikroy.com" matched cert's "*.bikroy.com"
* issuer: C=GB; ST=Greater Manchester; L=Salford; O=COMODO CA Limited; CN=COMODO ECC Domain Validation Secure Server CA 2
* 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 0x558b1dae8f30)
> GET /?ref_no=990210792 HTTP/2
> Host: pay.bikroy.com
> User-Agent: curl/7.64.1
> Accept: */*
>
* Connection state changed (MAX_CONCURRENT_STREAMS == 256)!
< HTTP/2 302
< date: Fri, 24 May 2019 04:07:49 GMT
< content-type: text/html; charset=iso-8859-1
< set-cookie: __cfduid=ded263fd21f93e90e6da0f5bedc60ec1e1558670868; expires=Sat, 23-May-20 04:07:48 GMT; path=/; domain=.bikroy.com; HttpOnly
< location: http://api.pay.bk.ikmanit.com/Bikroy_Adapters/v1/pay_invoice?ref_no=990210792
< expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
< server: cloudflare
< cf-ray: 4dbc67a2dfeed895-CPH
<
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment