HOME COMMUNITY BLOG
Skip to end of metadata
Go to start of metadata

Sends a GET HTTP request and returns its data back.

Namespace

xmlns:AS="http://schema.advantages.cz/AsapFunctions"

Syntax

 

Parameters

Name

Description

url

Url requested.

authenticationTypeType of authentication. Example 'Basic'
usernameLogin username
passwordLogin password
methodSend method, e.g. GET or POST
contentContent to send
headersArray of header parameters

Remarks

If a file is returned as a result of the request, it is encoded as Base64 string.

In order to parse the XML using XPath, the resulting string has to be converted using ToXml() function.

Headers

Array of header parameters for request.

 

Example

This example loads data from an official company registry web service, extracts data and saves them to the address book.

Source XML
Stylesheet


EXAMPLE 2

Using httpRequest with authentication.



 

 

  • No labels