Skip to main content
Skip table of contents

Web service (Action)

Send spatial data of the detected object to the control system as a HTTP POST with JSON body

Parameters

IP / Host

Specify the IP address or host name along with the HTTP or HTTPS protocol. If no protocol is provided, the default will be http://.

EXAMPLE https://localhost:8080

Path

Include any extra URL path segments that are needed for the endpoint.

EXAMPLE /cortana

User name

OPTIONAL

Enter your username here if basic HTTP authentication is required.

Password

OPTIONAL

Input your password for basic HTTP authentication, if applicable.

Payload

Using the examples above the HTTP POST will be sent to https://localhost:8080/cortana with the default body of:

JSON
{
  "class": NUMBER,
  "endFrameNumber": NUMBER,
  "startFrameNumber": NUMBER
}

If spatial data can be collected from the object the body will the also include these properties:

JSON
{
  "class": NUMBER,
  "endFrameNumber": NUMBER,
  "startFrameNumber": NUMBER,
  "x": NUMBER,
  "y": NUMBER,
  "boundHeight": NUMBER,
  "boundWidth": NUMBER
}

To read more information on spatial object properties see: Object properties Details

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.