service.headersObject
HTTP headers to include with AI service requests.
Example
<form id="form">
<input name="firstName" />
<button id="smartPasteButton"></button>
</form>
<script>
$("#smartPasteButton").kendoSmartPasteButton({
service: {
url: "https://api.example.com/smart-paste",
headers: {
"Authorization": "Bearer YOUR_TOKEN",
"Content-Type": "application/json"
}
}
});
</script>