headers of ajax, Methods Webix Docs
objectthe name-value pairs of header fields
| ajax | the ajax object |
Example
webix.ajax().headers({
'Accept-Encoding': 'gzip',
'Accept-Language': 'en-US'
});
Details
The default header definition is { 'Content-type': 'application/x-www-form-urlencoded' }.
See also