From: Jean-Paul R. <re...@gm...> - 2022-07-25 07:37:05
|
The basic GET request looks like this: xquery version "3.1"; import module namespace http="http://expath.org/ns/http-client"; let $url := xs:anyURI("http://some.url") let $response := http:send-request(<http:request http-version="1.1" href="{ $url }" method="get"/>) return $response Best JPR On Mon, Jul 25, 2022 at 3:25 AM Hayim Lapin <hl...@um...> wrote: > Hello all, > Updating an app to make it compatible with version 5+. > Encountering error on importing: http://exist-db.org/xquery/httpclient > Am guessing that this has to do with this shift > <https://gitlab.gwdg.de/SADE/SADE/-/issues/87> to expath httpc ( > http://expath.org/ns/http-client). > > Can anyone point to a worked solution I can imitate? > > Many thanks, > HL > _______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open > |