External API to access data
External API to access data
jhfelectric
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
This discussion has been closed.
Answers
Does this example help?
https://editor.datatables.net/examples/advanced/REST.html
Kevin
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
Hello again,
I will try to create a Handler between DataTables and the API and let you know my findings.
Jhfelectric