Re: [tw5] Webserver: PUT request failing with error

2020-05-31 Thread Xavier Cazin
Hi Riz, You need to add -H "X-Requested-With: TiddlyWiki" in your command (see https://tiddlywiki.com/#WebServer%20Parameter%3A%20csrf-disable) Regards, -- Xavier. On Tue, May 26, 2020 at 3:53 AM Riz wrote: > I created an empty server wiki and added a tiddler with title "New". GET > request

[tw5] Webserver: PUT request failing with error

2020-05-25 Thread Riz
I created an empty server wiki and added a tiddler with title "New". GET request against "http://127.0.0.1:8080/recipes/default/tiddlers/New; returns proper response. However various attempts at PUT request fails with the following error message. HTTP/1.1 403 'X-Requested-With' header required