From Xojo Documentation

Property (As InternetHeaders )
aHTTPSecureSocket.RequestHeaders = newInternetHeadersValue
InternetHeadersValue = aHTTPSecureSocket.RequestHeaders

Supported for all project types and targets.

Request headers are sent to the server along with the action (GET, POST, etc.). They can contain data that the server might use to process your request. Some examples of common request headers are for things such as referring pages, the client name, OS CPU, and so forth.


Socket1.RequestHeaders.AppendHeader("Content-Type", "text/xml")