You must log in or register to comment.
Technichally yes, SQL is an API.
Not a RESTful one, nor an HTTP one, but SQL over a socket is very much a type of API…
But I’m guessing we meant an HTTP RESTful API in which case god I hope not
GET /api/database?query=SELECT+++name+++FROM+++users+++WHERE+++id=42
I’ve seen that exact type of endpoint, hitting databases in production. 🔥