How to Solve NameError: name 'request' is not defined -- bottle

Solution: Import the 'request' module

# Add the following line to the top of your code
from bottle import request

 

For more information:
bottle request