API Reference
POST
/api/bins
Create a new bin. Send JSON in the request body.
curl -X POST http://HOST/api/bins \
-H "Content-Type: application/json" \
-d '{"name":"test","value":42}'
GET
/api/bins/:id
Retrieve stored JSON. For private bins, add ?key=SECRET or X-Secret-Key header.
PUT
/api/bins/:id
Update a bin. Requires secret key via ?key= or X-Secret-Key header.
DELETE
/api/bins/:id
Delete a bin. Requires secret key.