This example works with an express.js API and mongoDB database.
Current html static page uses fetch api to asynchronously consume the microservice.
This page makes a POST request to: /api/shorturl/new with a key with name "url".
/api/shorturl/new