Skip to content

Instantly share code, notes, and snippets.

@estiller
Created July 9, 2020 21:25
Show Gist options
  • Save estiller/1b7dab59bc8d2628eadd03610c1384cf to your computer and use it in GitHub Desktop.
Save estiller/1b7dab59bc8d2628eadd03610c1384cf to your computer and use it in GitHub Desktop.
Building a Custom URL Shortener Using Azure Functions and Cosmos DB - Final Test
curl -v -X POST -H 'Content-Type: application/json' \
-d '{ "url": "http://mydomain.com", "vanity": "shortname" }' \
http://localhost:7071/register
curl -v -X GET http://localhost:7071/shortname
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment