Why does creating new item sends PUT and DELETE request instead of POST?

2 posts, 0 answers
  1. Richard
    Richard avatar
    5 posts
    Member since:
    Mar 2017

    Posted 27 Mar Link to this post

    I am using REST API, is there a way ho to create new items with POST request?
  2. Stefan
    Admin
    Stefan avatar
    1147 posts

    Posted 29 Mar Link to this post

    Hello Richard,

    This is not a known issue, by default the Grid should make a GET request when creating a new item. This can be observed in our demo:

    http://demos.telerik.com/php-ui/grid/editing-inline

    Please check the type method of the DataSourceTransportCreate, as this will allow modifying the request type:

    http://docs.telerik.com/kendo-ui/api/php/Kendo/Data/DataSourceTransportCreate#methods-type

    I hope this will help to achieve the desired result.

    Regards,
    Stefan
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top