External API to access data

External API to access data

jhfelectricjhfelectric Posts: 3Questions: 1Answers: 0

Hello experts,

How can I connect DataTables/Editor to an external API ? This API connects to a database and exposes Create, Update and Delete methods, accessible using a token. I am able to use the API methods without problems.

Using ASP.NET, what code should I write to communicate with the database through the API ?

Thanks,
Jhfelectric

Answers

  • kthorngrenkthorngren Posts: 20,148Questions: 26Answers: 4,736
  • jhfelectricjhfelectric Posts: 3Questions: 1Answers: 0

    Hello Kevin,
    Thank you for your reply.
    This article you point me too doesn't help unfortunately, because I am using .NET Libraries and also because my application already implements an API client.
    This means I can address the API using internal methods such as "SetObject", "UpdateObject" etc...
    In short, I don't want Editor to talk to a db, I want it to use internal methods.

    Jhfelectric

  • jhfelectricjhfelectric Posts: 3Questions: 1Answers: 0

    Hello again,
    I will try to create a Handler between DataTables and the API and let you know my findings.
    Jhfelectric

This discussion has been closed.