Page Contents

Home > @loopback/rest > parseOperationArgs

parseOperationArgs() function

Parses the request to derive arguments to be passed in for the Application controller method

Signature:

export declare function parseOperationArgs(request: Request, route: ResolvedRoute, requestBodyParser?: RequestBodyParser): Promise<OperationArgs>;

Parameters

Parameter Type Description
request Request Incoming HTTP request
route ResolvedRoute Resolved Route
requestBodyParser RequestBodyParser  

Returns:

Promise<OperationArgs>