1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-18 07:44:51 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers/webserver/WebServer API_ Put Tiddler.tid

28 lines
613 B
Plaintext
Raw Normal View History

2018-10-02 13:16:58 +00:00
created: 20181002131341062
modified: 20210418100750769
2018-10-02 13:16:58 +00:00
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`
2018-10-02 13:16:58 +00:00
Response:
* 204 No Content
*> `Content-Type: text/plain`
*> `Etag: "default/<title>/<changecount>:"`