New to Kendo UI for jQueryStart a free 30-day trial

Returns an object that contains common CSRF tokens found on the page.

These include tokens used by ASP.NET, Ruby on Rails and others.

Returns:Object

An object that contains common CSRF tokens found on the page

<input type="hidden" name="__RequestVerificationToken" value="token" />
<script>
var dataSource = new kendo.data.DataSource({
  transport: {
    read: {
      url: "https://demos.telerik.com/service/v2/core/products",
      data: function() {
        return kendo.antiForgeryTokens();
      }
    }
  }
});

dataSource.fetch();
// check the request in the NetworkTab
</script>
Not finding the help you need?
Contact Support