Re: [xsl] Hints on http POST

Subject: Re: [xsl] Hints on http POST
From: "Martin Honnen martin.honnen@xxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 2 Feb 2018 18:06:10 -0000
On 02.02.2018 18:29, Wendell Piez wapiez@xxxxxxxxxxxxxxx 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.


Current Thread