url request app written in Python Flask