Say I have a Resource that does not do anything but returns the url to the console
from app import api
class StaticFiles(Resource):
    def get(self):
        return api.url_for(self) # this only provides the resource url 
if the request was http://localhost:5000/static code above returns /static I am looking for http://localhost:5000/static
Usually I use requests but there is no request in resources. 
I am looking for pretty much the equivalent of request.base_url
 
     
    