==Response Conversion==
Converts the response body CSV, JSON and HTML responses are automatically converted to a specific JSON an XML representation. The target formatcan be influenced by supplying {{Code|csv}}, {{Code|json}} and {{Code|html}} attributes:
'''Query:'''
<syntaxhighlight lang="xquery">
http:send-request(<http:request method='GET' href='http://localhost:8080/json' json='format=xquery,lax=true'/>)
</syntaxhighlight>