Skip to content

Instantly share code, notes, and snippets.

@jstotz
Last active August 24, 2019 18:09
Show Gist options
  • Save jstotz/7cede780bacd757d1a8b21b6cb54356a to your computer and use it in GitHub Desktop.
Save jstotz/7cede780bacd757d1a8b21b6cb54356a to your computer and use it in GitHub Desktop.
Request
curl -v https://smarttransactions.net/gateway_springboard.php -H "Content-Type: xml" -d "<Request>
<POS_Entry_Mode>M</POS_Entry_Mode>
<Action_Code>05</Action_Code>
<Terminal_ID>002</Terminal_ID>
<Merchant_Number>712731001001</Merchant_Number>
<Card_Number>715733104888182</Card_Number>
</Request>"
* Trying 65.101.207.105:443...
* TCP_NODELAY set
* Connected to smarttransactions.net (65.101.207.105) 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-RSA-AES256-GCM-SHA384
* ALPN, server did not agree to a protocol
* Server certificate:
* subject: OU=Domain Control Validated; CN=smarttransactions.net
* start date: Mar 13 22:31:00 2018 GMT
* expire date: Mar 23 20:05:38 2020 GMT
* subjectAltName: host "smarttransactions.net" matched cert's "smarttransactions.net"
* issuer: C=US; ST=Arizona; L=Scottsdale; O=GoDaddy.com, Inc.; OU=http://certs.godaddy.com/repository/; CN=Go Daddy Secure Certificate Authority - G2
* SSL certificate verify ok.
> POST /gateway_springboard.php HTTP/1.1
> Host: smarttransactions.net
> User-Agent: curl/7.65.3
> Accept: */*
> Content-Type: xml
> Content-Length: 217
>
* upload completely sent off: 217 out of 217 bytes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment