|<code><b>http:send-request</b>($request as element(http:request)?, $href as xs:string?, $bodies as item()*) as item()+</code><br/><code><b>http:send-request</b>($request as element(http:request)) as item()+</code><br /><code><b>http:send-request</b>($request as element(http:request)?, $href as xs:string?) as item()+</code><br />
|-
| valign='top' | '''Summary'''
|Sends an HTTP request and interprets the corresponding response. <code>$request</code> contains the parameters of the HTTP request such as HTTP method and headers. In addition to this it can also contain the URI to which the request will be sent and the body of the HTTP method. If the URI is not given with the parameter <code>$href</code>, its value in <code>$request</code> is used instead. The structure of <code>http:request</code> element follows the [http://expath.org/spec/http-client EXPath] specification.
|-
| valign='top' | '''Notes'''
|The attribute <code>auth-method</code> of <code>$request</code> is not considered in our implementation because we are handling only basic authentication.
|}