You're currently browsing the Ignition 8.0 docs. Click here to view the latest docs.

Perspective enables you to integrate network and internet driven resources seamlessly into a project.  An HTTP binding is used to pass data directly to and from a URL.

The HTTP binding is an advanced binding type, and requires a basic understanding of web development and the HTTP protocol.

JSON Support

One perk of the HTTP binding is the ability to fetch JSON documents from a website or an API. Since the Perspective property tree is also JSON-formatted, this allows you to dynamically create a property structure from a JSON document directly.

On this page ...


HTTP Binding

HTTP Binding Configuration

Binding PropertyDescription
URLAn expression indicating what web address to reference on the binding. If entering a static URL, quotation marks must be used.

Any HTTP method. Used to send HTTP requests to the specified URL. Options as follows:

GETThe GET method means retrieve whatever information (in the form of an entity) is identified by the Request-URI.
HEADThe HEAD method is identical to GET except that the server MUST NOT return a message-body in the response.
POSTThe POST method is used to request that the origin server accept the entity enclosed in the request as a new subordinate of the resource identified by the Request-URI in the Request-Line.
PUTThe PUT method requests that the enclosed entity be stored under the supplied Request-URI.
DELETEThe DELETE method requests that the origin server delete the resource identified by the Request-URI.
TRACEThe TRACE method is used to invoke a remote, application-layer loop- back of the request message.
CONNECTThe CONNECT method starts two-way communications with the requested resource. It can be used to open a tunnel.

Used to pass key/value pairs in the header of our HTTP requests.

KeyAllows dropdown selection from common header keys, or the ability to specify a custom one.
ValueThe Value field is an expression.
BodyAn expression indicating what to send in the body of our HTTP requests.
Authentication Type

Indicates what HTTP authentication type to use. Equivalent to specifying the Authorization key in the header. Options are None, Basic, Bearer, or Digest.

Authentication Value

The Authentication Value field takes an expression that should indicate what authorization string or token should be used in combination with the associated authentication type. For example, if the header should contain the string:

Authorization: Basic aWduaXRpb246cGFzc3dvcmQ=

Then the Authentication Type should be Basic and the Authentication Value should be aWduaXRpb246cGFzc3dvcmQ=.

Connect TimeoutIndicates how long the Ignition Gateway should wait for a response to our connect request.
Socket TimeoutIndicates how long the Ignition Gateway should wait for a response to a given HTTP request.
EnabledIndicates whether the binding should be active.
Overlay Opt-OutIndicates whether the component should reflect a bad quality binding via a Tag overlay.
Allow CookiesIndicates whether to allow the remote web server to store cookies.
PollingControls how frequently HTTP requests should be issued, and therefore how often the binding should be updated.

  • No labels