No activity today, make something!
tiddlyweb How do I create or update a bag over HTTP?

20160313160624 cdent  

Bags can be created or updated over HTTP by using the HTTP API to access /bags/{bag_name} to send a {{{PUT}}} request containing a JSON bag. The content-type header must be set to application/vnd.tiddlyweb+json1.

To make edits to a bag that already exists in the store the current user must pass the manage constraint on the bag. To create a new bag, the current user must pass the bag_create_policy.

See How can I use curl to create stuff in TiddlyWeb? for a simple example.


  1. In the past application/json was the default. While this is still supported, application/vnd.tiddlyweb+json has been made the official type.