Hi,
The following is my (coffee) datasource code excerpt:
schema:
model:
id: 'id'
transport:
destroy:
url: (model) -> ApiUrl "transmittals/transmittal/#{model.id}"
type: 'DELETE'
data: {}
A few things:
.I'd expected the destroy to use type = delete by default, no?
.I'd expected it to add the id to the url itself - do i have to inject it myself (like above)?
.Currently kendo is sending my entire model along with the request, ho can i prevent that?
The following is my (coffee) datasource code excerpt:
schema:
model:
id: 'id'
transport:
destroy:
url: (model) -> ApiUrl "transmittals/transmittal/#{model.id}"
type: 'DELETE'
data: {}
A few things:
.I'd expected the destroy to use type = delete by default, no?
.I'd expected it to add the id to the url itself - do i have to inject it myself (like above)?
.Currently kendo is sending my entire model along with the request, ho can i prevent that?