New to Kendo UI for Vue? Start a free 30-day trial

Credentials and Additional Data

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.

Example
View Source
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 onBeforeUpload event handler, update the additionalData or headers property of the event
  • In the onBeforeRemove event handler, update the additionalData or headers property of the event
Example
View Source
Loading ...