79273355

Date: 2024-12-11 22:35:57
Score: 2
Natty:
Report link

Turns out I needed to add

[HttpPost("itn.{format}"), FormatFilter]

To my endpoint, with this I don't need OutputFormatters.

Also you need to include the .xml extension in your request URL, like /api/shop/itn.xml

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Mateusz