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>
In this article
service.headers
Not finding the help you need?
Contact Support