Host RESTful API using Wappler

Hi, team,
Is there a possibility to build RESTful API using Wappler?
So this API would be consumed by 3rd parties?

For Example this list of API calls:
GET /api/v1/account - returns list of all accounts.
GET /api/v1/account/12504 - returns account details for account_id:12504
POST /api/v1/account - creates account with payload {“name”:“Supercompany”,“url”:“www.org.com”}
PATCH /api/v1/account/12504 - update account with payload {“name”:“Supercompany”,“url”:“www.org.com”}
DELETE /api/v1/account/12504 - deletes account with id:12504

I’m aware of Serverconnect capabilities, and I see that now it’s possible to create routes for them. But they don’t take into account HTTP request type, like PATCH or DELETE.

So, it’s not possible to create for example this 2 methods of the API with same URL but different HTTP request types.
DELETE /api/v1/account/12504
PATCH /api/v1/account/12504
GET /api/v1/account/12504

Community Page
Last updated: