name 'requests' is not defined code example Example: NameError: name 'request' is not defined from flask import request