Hi,
As Vincent mentions, REST is the way to go.
An alternative, though, is to use the save action's URL:
http://platform.xwiki.org/xwiki/bin/view/DevGuide/Standard+URL+Format#HActi…
Thanks,
Eduard
On Mon, Jul 18, 2016 at 10:28 AM, Vincent Massol <vincent(a)massol.net> wrote:
Hi Jean-Paul,
On 16 Jul 2016, at 15:58, Jan-Paul Kleijn
<email(a)biggee.nl> wrote:
Hi good folks,
Is there a way to save a page using javascript?
I read the XWiki JavaScript API but could not find this functionality.
You should check the XWiki REST API:
http://platform.xwiki.org/xwiki/bin/view/Features/XWikiRESTfulAPI
I don’t think there’s any JS API that encapsulate this but I could be
wrong.
Thanks
-Vincent
Thanks in advance,
Jan-Paul
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users