Hello oXygenistes,

Over on XSL-List, Martin Honnen kindly pointed me to EXPath as a
possible answer to my question regarding how to call http POST from
inside XSLT (see below): he suggests the EXPath http client module.

However, I find this isn't available in Saxon by default.

Any ideas of how I can get this to work in oXygen? (or alternative strategies?)

http://expath.org/modules/http-client/
http://expath.org/files

Cheers, Wendell

---------- Forwarded message ----------
From: Martin Honnen martin.hon...@gmx.de
<xsl-list-serv...@lists.mulberrytech.com>
Date: Fri, Feb 2, 2018 at 1:06 PM
Subject: Re: [xsl] Hints on http POST
To: xsl-l...@lists.mulberrytech.com


On 02.02.2018 18:29, Wendell Piez wap...@wendellpiez.com wrote:

> I have a need to procure a little bit of XML from a web service
> running locally. To get it (once) from curl is easy:
>
> curl -X POST -d "My string goes in here" localhost:8888/do/me
>
> But I need to call it many many times, which I would naturally like to
> do from inside my transformation.
>
> Does anyone have any neat hints of how to do this under unextended (or
> openly extended) XSLT 3.0?


I am not sure how exactly that HTTP POST that curl produces looks like
but http://expath.org/modules/http-client/ allows HTTP POST requests.

--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/174322
or by email: xsl-list-un...@lists.mulberrytech.com
--~--


-- 
Wendell Piez | http://www.wendellpiez.com
XML | XSLT | electronic publishing
Eat Your Vegetables
_____oo_________o_o___ooooo____ooooooo_^
_______________________________________________
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user

Reply via email to