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

Datasource REST integration examples

1 Answer 134 Views
Data Source
This is a migrated thread and some comments may be shown as answers.
Timo
Top achievements
Rank 1
Timo asked on 13 Jan 2012, 02:43 PM
Hi.

Are there any public REST service integration examples. Utilization of all REST HTTP verbs GET/POST/PUT/DELETE and also fetch of individual data elements would be nice.

Br,
Timo Westkämper

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 13 Jan 2012, 04:01 PM
Hi,

 No, we don't yet have such an example. Still you can change the method of all transport settings:

dataSource: {
     transport: {
            read: {
                 type: "GET",
                 url: "http://www.example.com"
            },
           destroy: {
                 type: "DELETE",
                 url: "http://www.example.com"
            }
     }
}

However make sure you have enabled cross domain access headers for your web server. This blog post sheds more light on the subject.

All the best,
Atanas Korchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Data Source
Asked by
Timo
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or