Use get_request_parameter in endpoint
Refactor the "endpoint" route in the "api" service and use libapi `get_request_parameter`.
Use get_request_parameter in endpoint: Refactor the "endpoint" route in the "api" service and use libapi `get_request_parameter`.