Search code examples
batch-filecurlxwiki

execute a script with http requests from xwiki


I'm searching a simple way to catch informations from a repository like artifactory and put those informations in xwiki page. In xwiki we can execute scripts but I don't know if commands like curl get/put/post can be run from the script.


Solution

  • In http://extensions.xwiki.org/xwiki/bin/view/Extension/REST+HTTP+Client you can find Groovy script example to access a HTTP/REST service from a XWiki page.