Created
December 22, 2013 16:24
-
-
Save CliffordAnderson/8084909 to your computer and use it in GitHub Desktop.
HTTP GET Request with eXistDB
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xquery version "3.0"; | |
(: HTTP GET request :) | |
let $url := 'http://www.rest.com' | |
return httpclient:get(xs:anyURI($url), fn:false(), ())/httpclient:body/html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See Overview of Page Scraping Techniques in the XQuery Wiki Book for more information.