xsl-list
[Top] [All Lists]

Re: [xsl] Hints on http POST

2018-02-02 12:19:16
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(_dot_)honnen(_at_)gmx(_dot_)de
<xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com> wrote:
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.





-- 
Wendell Piez | http://www.wendellpiez.com
XML | XSLT | electronic publishing
Eat Your Vegetables
_____oo_________o_o___ooooo____ooooooo_^
--~----------------------------------------------------------------
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>