Hi, as part of a plugin that i am writing i need to change the http response body for not found error code. I understand that i should override ApplicationCallPipeline.Fallback phase, but don't sure how to change the response body. Any help?
r
Rustam Siniukov
02/18/2022, 9:47 PM
Can you use
StatusPages
plugin instead? It it designed to handle different errors and status codes and reply with custom response
j
Jorge Bo
02/25/2022, 1:13 PM
i will try to use that plugin, seems the correct approach to take, thanks