79361350

Date: 2025-01-16 11:14:06
Score: 2.5
Natty:
Report link

You get a 404 if you do not enter an id because Go will only see /api/text/get/{id} and not /api/text/get/ . It will see these two as two seperate paths. If you want to make a not found, you need to also handle /api/text/get/ .

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: ceayo