External REST API call from Telerik Platform

4 posts, 0 answers
  1. Iram
    Iram avatar
    9 posts
    Member since:
    Apr 2015

    Posted 13 Apr 2015 Link to this post

    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?

  2. Martin Yankov
    Admin
    Martin Yankov avatar
    177 posts

    Posted 14 Apr 2015 Link to this post

    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.

     
  3. Larissa
    Larissa avatar
    19 posts
    Member since:
    Dec 2015

    Posted 01 Feb in reply to Martin Yankov Link to this post

    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!

  4. Martin Yankov
    Admin
    Martin Yankov avatar
    177 posts

    Posted 02 Feb Link to this post

    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
Back to Top