Created
December 10, 2018 13:30
-
-
Save mathias-goebel/aba533f715bd616f9be8903a69d41e28 to your computer and use it in GitHub Desktop.
eXist-db http client with easyrdf converter
This file contains 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.1"; | |
let $content := | |
<httpclient:fields> | |
<httpclient:field name="data" value="" type="string"/> | |
<httpclient:field name="in" value="guess" type="string"/> | |
<httpclient:field name="out" value="rdfxml" type="string"/> | |
<httpclient:field name="raw" value="1" type="string"/> | |
<httpclient:field name="uri" value="http://njh.me/" type="string"/> | |
</httpclient:fields> | |
return | |
httpclient:post-form(xs:anyURI("http://www.easyrdf.org/converter"), $content, false(), ()) | |
//httpclient:body/node() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment