Created
August 3, 2017 02:16
-
-
Save mazz/69af7849539ca7e93eaefe578d5f1c97 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
| books = Service(name='v2/books', | |
| path='v2/books', | |
| renderer='json', | |
| accept='application/json') | |
| ... | |
| @books.get(content_type="application/json") | |
| def get_books(request: Request): | |
| (method body) | |
| ~~~ | |
| ~ ᐅ http https://japheth.ca/v2/books | |
| HTTP/1.1 200 OK | |
| Connection: keep-alive | |
| Content-Encoding: gzip | |
| Content-Type: text/html; charset=UTF-8 | |
| Date: Thu, 03 Aug 2017 02:15:18 GMT | |
| Server: nginx/1.12.0 | |
| Set-Cookie: session=8500de46ddc1c68203ef89fc383bca8b03e8426bgASVVAAAAAAAAACMUHdlYnNhdW5hX3Nlc3Npb25mZWI4NzcwYTUyOTg1NWRlNTNmMTBlNTg4YTA5NmE5Y2E2MTM1ZmY4NTBkMTJkMTlhNjNjZDQ2YTJhOTgwMGI5lC4=; Path=/; HttpOnly | |
| Transfer-Encoding: chunked | |
| X-Content-Type-Options: nosniff | |
| { | |
| "result": [ | |
| { | |
| "bid": "e931ea58-080f-46ee-ae21-3bbec0365ddc", | |
| ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment