Handling the @Get @Post @Put and @Delete annotations