# @ChopperApi(): adding another path to the class

**URL:** <https://forums.kodeco.com/t/chopperapi-adding-another-path-to-the-class/154285>\
**Category:** Flutter Apprentice\
**Created:** [October 21, 2021, 8:54pm UTC](https://forums.kodeco.com/t/chopperapi-adding-another-path-to-the-class/154285 "2021-10-21T20:54:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![alijaber](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/alijaber/32/102075_2.png) [@alijaber](https://forums.kodeco.com/u/alijaber)\
**Post date:** [October 21, 2021, 8:54pm UTC](https://forums.kodeco.com/t/chopperapi-adding-another-path-to-the-class/154285/1 "2021-10-21T20:54:42Z")

</div>

Hello team,  
in the book, in the chopper chapter, you added the following:

```auto
abstract class RecipeService extends ChopperService {
  @Get(path: 'search')
  Future<Response<Result<APIRecipeQuery>>> queryRecipes(
      @Query('q') String query, @Query('from') int from, @Query('to') int to);
...
}

```

If I want to add another path, for example ‘login’, should I create a new abstract Class ? or is there a way to add it to the RecipeService class?
