HTTP Application

Last modified by Admin on 2021/07/19 00:13

cogHTTP utilities
Developed by


Active Installs9
0 Votes
LicenseGNU Lesser General Public License 2.1

Installable with the Extension Manager


This library eases simple HTTP operations from XWiki scripts, such as downloading a remote page as a string or as a a byte array. It delegates HTTP operations to the org.apache.http package.


## Download a page as text (the endpoint below is fake)
#set ($json = $services.http.getString(""))
## Download a resource as bytes (e.g. an image, so that it can then get attached to an XWiki page)
#set ($bytes = $services.http.getBytes(""))

Prerequisites & Installation Instructions

We recommend using the Extension Manager to install this extension (Make sure that the text "Installable with the Extension Manager" is displayed at the top right location on this page to know if this extension can be installed with the Extension Manager).

You can also use the manual method which involves dropping the JAR file and all its dependencies into the WEB-INF/lib folder and restarting XWiki.


Dependencies for this extension (org.xwiki.contrib:xwiki-http-lib 1.0):


Get Connected