Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
eXist-db http client with easyrdf converter
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