@app.errorhandler(404)
def not_found(error=None):
    message = {'status': 404, 'message': ('Not Found: ' + request.url)}
    response = jsonify(message)
    response.status_code = 404
    return response
@app.errorhandler(404)
def not_found(error=None):
    message = {'status': 404, 'message': ('Not Found: ' + request.url)}
    response = jsonify(message)
    response.status_code = 404
    return response