Hacker News new | ask | show | jobs
by mzjs 4040 days ago
It's an interesting idea, but I'm not sure there are very many potential use cases. Mostly, I can see using this client-side so that I don't need to set up a back end myself, but if I understand correctly, that's not really possible since you have to keep the API key private.
3 comments

Yeah, I remember there was a service like this around 2009 (that, like this, I thought was pretty nifty... I wish I could remember the name) - but it was anonymous and you didn't need auth: you could write to a url and have the hash of it as the "read" endpoint... I used that for a lot of quick mock-ups and things.
You're probably thinking about openkeyval.org which is now defunct.
It is of course possible, it just needs a domain whitelist, app public api key and per user rate limiting
Would definitely be interested in figuring out a way to access the api securely in JS.