a super simple JSON setter/getter using valtown blobs. use GET to fetch it, use POST to set it. expects the inbound data to be JSON for simplicity. use ?key=foobar
to specify different storage locations.
set:
curl -s -X POST -d '{"lol": "wut"}' https://jamiedubs-databin.web.val.run?key=foobar
get:
curl -s https://jamiedubs-databin.web.val.run?key=foobar # {"lol":"wut"}