Subject: Re: [xsl] Hints on http POST From: "Wendell Piez wapiez@xxxxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Fri, 2 Feb 2018 18:19:11 -0000 |
Excellent leads, thanks! I'll probably look at EXPath first, but BaseX is also a possibility -- Cheers, Wendell On Fri, Feb 2, 2018 at 1:06 PM, Martin Honnen martin.honnen@xxxxxx <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote: > 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. > > -- Wendell Piez | http://www.wendellpiez.com XML | XSLT | electronic publishing Eat Your Vegetables _____oo_________o_o___ooooo____ooooooo_^
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Hints on http POST, Martin Honnen martin | Thread | [xsl] [ANN] Call for Participation:, Tommie Usdin btusdin |
Re: [xsl] Hints on http POST, Martin Honnen martin | Date | Re: [xsl] Hints on http POST, Michael Kay mike@xxx |
Month |