79414457

Date: 2025-02-05 10:44:22
Score: 1
Natty:
Report link

I ended up creating different functions for different HTTP methods. So, each of those methods will be decorated with either @Get, @Post, @Patch, @Put and @Delete.

All of them will call the same method underneath, and then I can achieve the logic I was looking for.

Thanks for all comments and help!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: napfernandes