This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
from flask import Flask, request | |
# initialize our Flask application | |
app= Flask(__name__) | |
# the use case is to translate and forward incoming requests to other servers and return the response | |
# we want the server to be hot pluggable, ie add new "adapters" on the fly |