Change PURGE API call to use POST