receives REST requests, transforms JSON to the format expected by the backend service, invokes the service, transforms the response back to JSON, and returns it.