HTTP Request Methods

Hello Wapplers!

I was reading the article below and wondering how I would use HTTP request methods when creating an REST API with Wappler.

For example:

HTTP GET http://api.example.com/device-management/managed-devices //Get all devices
HTTP POST http://api.example.com/device-management/managed-devices //Create new Device

The route is the same, but the request method defines the action. How would you implement this in Wappler?

https://restfulapi.net/resource-naming/

Community Page
Last updated: