Black Box Version 1.0 Manual do Utilizador Página 37

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 42
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 36
Copyright © 2009, 2010 Black Box Network Services
724-746-5500 | blackbox.com 37
XML API version 1
Compatibility
Introduced in 8.0.
4.2.3 HTTP GET Request
Function
Allow HTML pages being played in iCOMPEL to access resources that might otherwise be unavailable due to cross-domain
security policies in HTML Player.
Enables building complex mash ups for digital signage where content may need to be fetched from different sources while
ensuring the security of the signage system.
This API uses XML Services proxy, if configured.
Syntax
Example XML:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<http_request href="http://www.onelan.co.uk" method="get"
username="fakeuser"
password="fakepassword">
<header name="accept-language" value="en-GB" />
</http_request>
The header names are case-insensitive.
You may set the following HTTP headers to be forwarded to the remote server
Header Name
Description
Default
Accept
acceptable content type
text/*
Accept-language
acceptable language for response
en-GB
Cookie
an HTTP cookie sent by server in a
previous call
User-agent
application type requesting the URI
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8)
Gecko/20051111 Firefox/1.5
Return Status
The Return Status will be the same as if the user had accessed the resource through a browser.
Applications may check for 'Content-type' to determine the returned resource.
Compatibility
Introduced in 8.0.
Vista de página 36
1 2 ... 32 33 34 35 36 37 38 39 40 41 42

Comentários a estes Manuais

Sem comentários