Skip to content

Instantly share code, notes, and snippets.

@joshkh
Created January 17, 2019 17:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joshkh/c52bcfba608bb713cbdca3daae19ac84 to your computer and use it in GitHub Desktop.
Save joshkh/c52bcfba608bb713cbdca3daae19ac84 to your computer and use it in GitHub Desktop.
# Hitting the proxy resource endpoint /datomic 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, in this case /datomic/some/nested/route, returns the same results
curl https://$(obfuscated-name).execute-api.us-east-1.amazonaws.com/dev/datomic/some/nested/route -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