New to KendoReact? Start a free 30-day trial
Credentials and Additional Data
Credentials and Additional DataPremium
Updated on Nov 10, 2026
During file upload or removal, you can configure whether to send credentials with cross-origin requests, add custom headers, or send additional data.
Attaching Credentials to Requests
To send credentials with cross-origin upload and remove requests, set the withCredentials option to true. By default, cross-origin requests are sent without credentials. Same-origin requests include browser-managed credentials, such as cookies, by default; withCredentials does not affect them.
Loading ...
Attaching Additional Data to Requests
You can also send additional data in the form of key/value pairs and modify the request headers.
Depending on when the data will be sent:
- In the
onBeforeUploadevent handler, update theadditionalDataorheadersproperty of the event - In the
onBeforeRemoveevent handler, update theadditionalDataorheadersproperty of the event
Loading ...