We've updated our policies for smart-enabled devices. Please review the revised policies.

Index

Properties

additionalHeaders

additionalHeaders: {}

Additional HTTP headers for the request, as an object containing key/value pairs.

{
  'Authorization': 'Bearer ...',
  'Accept': 'application/json',
}

Type declaration

  • [key: string]: string

dataType

dataType: string

HTTP Content-Type header

headers

headers: string
deprecated

use HttpRequestData.additionalHeaders

List of HTTP headers for the request.

method

HTTP method to perform

path

path: string

URI path on the target device

Optional port

port: undefined | number

Port number on the target device. Default is port 80.