This is a migrated thread and some comments may be shown as answers.

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

1 Answer 62 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Richard
Top achievements
Rank 1
Richard asked on 27 Mar 2017, 02:31 PM
I am using REST API, is there a way ho to create new items with POST request?

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 29 Mar 2017, 07:30 AM
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 (charts) and form elements.
Tags
Grid
Asked by
Richard
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or