title: Fetch requested URL - Flask-RESTful
body: <p>I am working on adding error handling/logging into an API I have written using Flask-RESTful but I cannot work out how to grab the requested URL.</p>
  
  <p>As an example, I am using the Python logging module to write to a log exceptions caught by Flask-RESTful's <code>got_request_exception</code></p>
  
  <pre><code>app.logger.error('%s Got exception: %s', timestamp, exception)
  </code></pre>
  
  <p>I essentially wanted to log timestamp, requested URL, error message; at the moment I am just missing the requested URL since I am not sure how it is read back once passed into the API.</p>
  
  <p>If someone could let me know how to pull this back out of Flask-RESTful so I can log it, it would be appreciated.</p>