librelist archives

« back to archive

Fw: Create a simple web server

Fw: Create a simple web server

From:
Malviya, Urvi
Date:
2014-07-22 @ 12:04

From: Malviya, Urvi
Sent: Tuesday, July 22, 2014 5:31 PM
To: 'flask@librelist.com'
Subject: Create a simple web server

Hey !

How can I host a simple web server in python flask, which should display 
the contents of the file on the server. It should follow ReST architecture
and response should be in JSON.

Thanks !