Does the Wappler backend provide a connection API for third-party apps?

Hi @dev_fun, you are looking to create an “API server”. The default way Wappler allows third-party apps to connect to the “API Server” is with normal credentials (i.e. username/password). This probably isn’t what you want as a best practice as it’s normally used for users visiting your site. I’m not sure what the best solution is, but there was a similar discussion a few months ago.

What Apple was saying is that the Server Connect “Server Actions” are APIs. You can connect to them using REST. You would create whatever APIs you need (e.g. register user, login, etc.) typically starting with one to create a user via POST.

Here’s an example API for registering a user.

Here’s an example for logging in a user.

image

Here’s one that gets the details about the logged in user.
image

Here’s one that gets details about all users.

All of these live in the Server project and can be called via REST methods.

5 Likes