Skip to content

http.headersAdd Deprecated

INFO

Replaced by web.get

This function adds an item to the header for the next HTTP Request.

js
http.headersAdd(key, value)

Parameters

  • key - the header key.
  • value - the header value.

Example

js
http.headersAdd("Token", "1");