[Top] [All Lists]

Re: [xsl] Hints on http POST

2018-02-02 12:06:14
On 02.02.2018 18:29, Wendell Piez wapiez(_at_)wendellpiez(_dot_)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/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com

<Prev in Thread] Current Thread [Next in Thread>