Join us online for the Google Smart Home Developer Summit on October 21st! Register here to learn what's new, and what's coming up for Google Smart Home.

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.