get_headers();
set_headers(value);
Object.defineProperty('headers');
Type | Description |
---|---|
Dictionary | Dictionary of key-value headers for the XMLHttpRequest. Default value is an empty dictionary. |
If the Method is POST, then the PostData will be sent with the request. So that the endpoint described by Url may understand the data, add the "content-type" header to Headers with the standard name for your data serialization (e.g., "application/json"
).