Unable to purge by URL in worker
I have a worker that periodically updates a JSON resource available via a URL. When the worker updates that resource, it uses the cloudflare API (https://api.cloudflare.com/client/v4/zones/[zone]/purge_cache) to purge it so the updated data is available. However, even though the API response indicates success, it is not actually purged. Using the API to purge the same URL works when done in Postman. What's going on here?