registerRouteWithMethod abstract method
Registers a route with a specified HTTP method
route The API route to register
method The HTTP method to associate with the route (e.g., GET, POST, PUT, DELETE)
This method allows you to define a route and its associated HTTP method for handling requests.
Implementation
SimApiBase registerRouteWithMethod(String route, SimApiHttpMethod method);