Encoding URL for enabling CDN (PUT request)