Changed the clearCache endpoint to post