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

External REST API call from Telerik Platform

3 Answers 496 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Iram
Top achievements
Rank 2
Iram asked on 13 Apr 2015, 02:01 PM

Hello,

 I am new to Telerik platform so please do excuse me if I don't know my way around it. Basically I am trying to log in to my website using my created external REST API service. I am currently using a trial version of Telerik Platform and all I can see is that I can have databases attached using the Data connector option. How can I achieve the calling of external REST API services using Telerik platform?

3 Answers, 1 is accepted

Sort by
0
Martin Yankov
Telerik team
answered on 14 Apr 2015, 12:53 PM
Hi Iram,

I see that you have sent a support ticket with the same question. I will mostly repeat my answer here.

Developing a hybrid mobile app is essentially the same as developing a web single page app. This means that you would consume a REST web service in the same way that a web site does. The easiest way is to use jQuery ajax calls. There are a lot of tutorials and explanations on the web regarding how to make ajax requests and how to handle the data and errors that are received by the web service.

Kendo UI also offers a DataSource widget. It offers an abstraction over CRUD operations and you can connect it to a remote REST web service easily. You can find the documentation here. It is a powerful tool that offers features like parsing, grouping, sorting etc and you can also connect it to a number of Kendo UI widgets like the Grid, ListView and more.

Let me know if this information is helpful to you and if you have any other questions.

Regards,
Martin Yankov
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
0
Larissa
Top achievements
Rank 1
answered on 01 Feb 2016, 06:42 PM

You posted the documentation for Kendo UI and it is pretty easy like any other javascript framework.

But I'm a little confuse about how to do that with ASP.Net AJAX.

I have a REST API already up and running. How can I call my service (for instance, http://mydomain.com/rest/myapi/employees) to list all employees in the radgrid?

 Or how can I call the same API doing a post for a simple form?

 I didn't find the documentation for this. Can you point me the way?

 Thanks!

0
Martin Yankov
Telerik team
answered on 02 Feb 2016, 08:32 AM
Hi Larissa,

It seems your question is not related to the Telerik Platform but to another product. I would suggest you to post it under the respective forum category which in this case seems to be under UI for ASP.NET AJAX forum section.


Regards,
Martin Yankov
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Iram
Top achievements
Rank 2
Answers by
Martin Yankov
Telerik team
Larissa
Top achievements
Rank 1
Share this question
or