Hi, as part of a plugin that i am writing i need ...
# ktor
j
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
Can you use
StatusPages
plugin instead? It it designed to handle different errors and status codes and reply with custom response
j
i will try to use that plugin, seems the correct approach to take, thanks