Last active
December 30, 2015 19:59
-
-
Save timperrett/7877915 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| curl -X POST \ | |
| --header "Content-Type: application/json" \ | |
| --header "im-wskid:1386609095" \ | |
| --header "im-secret:hLGJURZG0X5h9k6B07Hh55jqdYYlE/AOVnsQxdJ5bhXlbLhldyaSY1hpJ5mHfyIfGBuhAd4h7iIFq251vFoA2yKA4KXk6Ypp0hO28LblJA4nI+IwP8nCmJvkHWFSnKZADqhKV/7iScaay7PcWvctgAN+1JksASCYGfwR0sN0EKhhMmKOKq6hghGM3wazLAiuS61mnObfKB0xGv9nWJmKtg==" \ | |
| -d '{"to":["qwertyuiop"],"kind":"device:global","preferred":[{"kind":"services-intel-developer","config":{"foo":"bar"}}],"minimum":[]}' \ | |
| -v https://imqa-su3264.svc.m.infra-host.com:9443/allocations | |
| =================== | |
| λ curl -X POST \ | |
| > --header "Content-Type: application/json" \ | |
| > --header "im-wskid:1386609095" \ | |
| > --header "im-secret:hLGJURZG0X5h9k6B07Hh55jqdYYlE/AOVnsQxdJ5bhXlbLhldyaSY1hpJ5mHfyIfGBuhAd4h7iIFq251vFoA2yKA4KXk6Ypp0hO28LblJA4nI+IwP8nCmJvkHWFSnKZADqhKV/7iScaay7PcWvctgAN+1JksASCYGfwR0sN0EKhhMmKOKq6hghGM3wazLAiuS61mnObfKB0xGv9nWJmKtg==" \ | |
| > -d '{"to":["qwertyuiop"],"kind":"device:global","preferred":[{"kind":"services-intel-developer","config":{"foo":"bar"}}],"minimum":[]}' \ | |
| > -v https://imqa-su3264.svc.m.infra-host.com:9443/allocations | |
| * About to connect() to imqa-su3264.svc.m.infra-host.com port 9443 (#0) | |
| * Trying 54.243.57.174... | |
| * connected | |
| * Connected to imqa-su3264.svc.m.infra-host.com (54.243.57.174) port 9443 (#0) | |
| * SSLv3, TLS handshake, Client hello (1): | |
| * SSLv3, TLS handshake, Server hello (2): | |
| * SSLv3, TLS handshake, CERT (11): | |
| * SSLv3, TLS handshake, Server key exchange (12): | |
| * SSLv3, TLS handshake, Server finished (14): | |
| * SSLv3, TLS handshake, Client key exchange (16): | |
| * SSLv3, TLS change cipher, Client hello (1): | |
| * SSLv3, TLS handshake, Finished (20): | |
| * SSLv3, TLS change cipher, Client hello (1): | |
| * SSLv3, TLS handshake, Finished (20): | |
| * SSL connection using DHE-RSA-AES256-SHA | |
| * Server certificate: | |
| * subject: OU=Domain Control Validated; OU=Issued through Intel Corporation E-PKI Manager; OU=COMODO SSL Wildcard; CN=*.svc.m.infra-host.com | |
| * start date: 2013-03-15 00:00:00 GMT | |
| * expire date: 2016-03-14 23:59:59 GMT | |
| * subjectAltName: imqa-su3264.svc.m.infra-host.com matched | |
| * issuer: C=GB; ST=Greater Manchester; L=Salford; O=COMODO CA Limited; CN=COMODO SSL CA | |
| * SSL certificate verify ok. | |
| > POST /allocations HTTP/1.1 | |
| > User-Agent: curl/7.24.0 (x86_64-apple-darwin12.0) libcurl/7.24.0 OpenSSL/0.9.8y zlib/1.2.5 | |
| > Host: imqa-su3264.svc.m.infra-host.com:9443 | |
| > Accept: */* | |
| > Content-Type: application/json | |
| > im-wskid:1386609095 | |
| > im-secret:hLGJURZG0X5h9k6B07Hh55jqdYYlE/AOVnsQxdJ5bhXlbLhldyaSY1hpJ5mHfyIfGBuhAd4h7iIFq251vFoA2yKA4KXk6Ypp0hO28LblJA4nI+IwP8nCmJvkHWFSnKZADqhKV/7iScaay7PcWvctgAN+1JksASCYGfwR0sN0EKhhMmKOKq6hghGM3wazLAiuS61mnObfKB0xGv9nWJmKtg== | |
| > Content-Length: 130 | |
| > | |
| * upload completely sent off: 130 out of 130 bytes | |
| < HTTP/1.1 200 OK | |
| < Server: nginx/1.4.2 | |
| < Date: Mon, 09 Dec 2013 18:35:23 GMT | |
| < Content-Length: 0 | |
| < Connection: keep-alive | |
| < ETag: b7b436d004c1cc0501bee9e296d2eaa4 | |
| < | |
| * Connection #0 to host imqa-su3264.svc.m.infra-host.com left intact | |
| * Closing connection #0 | |
| * SSLv3, TLS alert, Client hello (1): | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment