Encurtador de URL Simples

Use o endpoint POST /api/shorten com um JSON como este:

{ "long_url": "https://www.suaurlmuitolonga.com/etc" }

Exemplo de como chamar com cURL:

curl -X POST -H "Content-Type: application/json" -d '{"long_url":"https://www.google.com"}' http://localhost:5000/api/shorten