Is there a way to get the uncached site.json for an anonymous user?


(Simon Cossar) #1

I’m making an api call to site.json to get a site’s complete list of categories and subcategories. If I include an api key and username in the request I get the current list. If I make the request as an anonymous user I get the cached version of site.json.

Sending the forum’s api key in a GET request seems risky. Is there a safe way to get the uncached version of site.json as an anonymous user?

Edit: sometimes the fastest way to learn is to ask a dumb question. I did a bit of research. You can close this.

(Felix Freiberger) #2

Assuming you use HTTPS, this is totally fine! :slight_smile:
(If you don’t, nothing is fine.)