Flask REST api end point demo