Fix for "ReferenceError: url is not defined" and purge_all 404

Changed 'uri' to 'url' param in 'request' method to match use inside of method.

Corrected the purgeAll endpoint URL.