On Thu, Oct 15, 2015 at 9:53 AM, [email protected] <[email protected]> wrote:
> Hi, > > > What do you wish to do exactly? To where do you wish to go an HTTP POST or > GET? > Also, from where do you wish to make the request? * from the client side (the browser) in which case you have to use JavaScript (e.g. jQuery), but the request must target the same domain * from the server side, in which case you can use Velocity, Groovy of even Java (if you extension has some components). Hope this helps, Marius > > Som ideas: > * If it’s to get some external content XWiki has some APIs. > * You could use groovy which makes it extra easy to do HTTP (see snippets > on extensions.xwiki.org or google it) > > Thanks > -Vincent > > On 15 Oct 2015 at 03:44:24, Debajit Adhikary ([email protected]) wrote: > > What is the easiest/recommended way to make an HTTP POST or GET call from > within an XWiki extension? > > Should I use Restlet? (I am guessing XWiki comes with Restlet support) > > _______________________________________________ > users mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/users > _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
