1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-26 18:10:27 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers/webserver/WebServer API_ Put Tiddler.tid

28 lines
613 B
Plaintext

created: 20181002131341062
modified: 20210418100750769
tags: [[WebServer API]]
title: WebServer API: Put Tiddler
type: text/vnd.tiddlywiki
Saves the raw fields of a tiddler
```
PUT /recipes/default/tiddlers/{title}
```
The body should be in [[TiddlyWeb JSON tiddler format]].
Parameters:
* ''title'' - URI encoded title of the tiddler to save
Headers:
* ''x-requested-with'' - must be set to `TiddlyWiki` in order for the request to succeed, unless [[WebServer Parameter: csrf-disable]] is set to `yes`
Response:
* 204 No Content
*> `Content-Type: text/plain`
*> `Etag: "default/<title>/<changecount>:"`