Created
January 17, 2019 17:17
-
-
Save joshkh/17f818bf02452fc0cf261ba99620501e to your computer and use it in GitHub Desktop.
blog-greedy-handler
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
```bash | |
# Hitting the proxy resource endpoint returns the query results from the Ionized handler | |
curl https://$(obfuscated-name).execute-api.us-east-1.amazonaws.com/dev/datomic -d :hat | |
#{["SKU-19" 28499341391953988 23934169113428033 false] | |
... | |
["SKU-55" 46139905947992133 32330039903125571 false]} | |
# Hitting a sub-resource returns the same thinng | |
curl https://$(obfuscated-name).execute-api.us-east-1.amazonaws.com/dev/datomic/some/nested-rout -d :hat | |
#{["SKU-19" 28499341391953988 23934169113428033 false] | |
... | |
["SKU-55" 46139905947992133 32330039903125571 false]} | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment