Last active
September 25, 2017 15:22
-
-
Save plataforma-co/57691938b63c3c29418a9bf5dca7b896 to your computer and use it in GitHub Desktop.
Dealer service examples
This file contains 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
$ http -v post https://services.comparaonline.com/dealer/deck | |
POST /dealer/deck HTTP/1.1 | |
Accept: */* | |
Accept-Encoding: gzip, deflate | |
Connection: keep-alive | |
Content-Length: 0 | |
Host: services.comparaonline.com | |
User-Agent: HTTPie/0.9.9 | |
HTTP/1.1 200 OK | |
Connection: keep-alive | |
Content-Type: text/html; charset=utf-8 | |
Date: Fri, 19 May 2017 20:23:26 GMT | |
Transfer-Encoding: chunked | |
cache-control: no-cache | |
content-encoding: gzip | |
vary: accept-encoding | |
03cf5400-3cd1-11e7-8d59-57e90ce49a7c |
This file contains 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
$ http -v https://services.comparaonline.com/dealer/deck/03cf5400-3cd1-11e7-8d59-57e90ce49a7c/deal/5 | |
GET /dealer/deck/03cf5400-3cd1-11e7-8d59-57e90ce49a7c/deal/5 HTTP/1.1 | |
Accept: */* | |
Accept-Encoding: gzip, deflate | |
Connection: keep-alive | |
Host: services.comparaonline.com | |
User-Agent: HTTPie/0.9.9 | |
HTTP/1.1 200 OK | |
Connection: keep-alive | |
Content-Type: application/json; charset=utf-8 | |
Date: Fri, 19 May 2017 20:24:12 GMT | |
Transfer-Encoding: chunked | |
cache-control: no-cache | |
content-encoding: gzip | |
vary: accept-encoding | |
[ | |
{ | |
"number": "7", | |
"suit": "diamonds" | |
}, | |
{ | |
"number": "5", | |
"suit": "hearts" | |
}, | |
{ | |
"number": "5", | |
"suit": "clubs" | |
}, | |
{ | |
"number": "6", | |
"suit": "hearts" | |
}, | |
{ | |
"number": "3", | |
"suit": "clubs" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment