Skip to content

Instantly share code, notes, and snippets.

@CliffordAnderson
Created December 22, 2013 16:24
Show Gist options
  • Save CliffordAnderson/8084909 to your computer and use it in GitHub Desktop.
Save CliffordAnderson/8084909 to your computer and use it in GitHub Desktop.
HTTP GET Request with eXistDB
xquery version "3.0";
(: HTTP GET request :)
let $url := 'http://www.rest.com'
return httpclient:get(xs:anyURI($url), fn:false(), ())/httpclient:body/html
@CliffordAnderson
Copy link
Author

See Overview of Page Scraping Techniques in the XQuery Wiki Book for more information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment