New to KendoReact? Start a free 30-day trial
Credentials and Additional Data
Credentials and Additional DataPremium
During file upload or removal, you can control whether or not to send cookies and headers for cross-site requests, or additional data.
Attaching Credentials to Requests
You can control whether or not the request will use credentials by setting the withCredentials option. By default, withCredentials is set to true.
Change Theme
Theme
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
Change Theme
Theme
Loading ...