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#HAction:save Thanks, Eduard On Mon, Jul 18, 2016 at 10:28 AM, Vincent Massol <[email protected]> wrote: > Hi Jean-Paul, > > > On 16 Jul 2016, at 15:58, Jan-Paul Kleijn <[email protected]> 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 > [email protected] > http://lists.xwiki.org/mailman/listinfo/users > _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
