---
lang: en
title: 'API docs: rest.invokemethod'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
permalink: /doc/en/lb4/apidocs.rest.invokemethod.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/rest](./rest.md) &gt; [InvokeMethod](./rest.invokemethod.md)

## InvokeMethod type

Invokes a method defined in the Application Controller

<b>Signature:</b>

```typescript
export declare type InvokeMethod = (route: RouteEntry, args: OperationArgs) => Promise<OperationRetval>;
```

