httpHeaderCommunicationLink

httpHeaderCommunicationLink ( string headerName , string headerValue ) : void

Add a special header in HTTP requests sended to the CMS server by communication link.
You can change the request method (PUT, DELETE, etc.) with the special header RequestMethod.
Important: this header is permanent. Clear with httpHeaderClear.

Example




	// Set a custom header for the HTTP request
httpHeaderCommunicationLink("Authorization", "Bearer my_token")
id_product_associated = functionNow("id_product_reference",[reference])


See also

httpHeaderClear

Parameters

headerName

headerValue