Web Connection
How to prevent this error server when send wrong params like %3F only
Hello,
we have an API built with webConnection 6.2 and i can't catch the error response when someone calls with 'wrong get params' to my endPoint for example like in this url occurs when i append (%3F) https://weblog.west-wind.com/%3F
but i get a IIS error response and not a webConnection error respond, it's possible anyway catch this error?
I think the %3F
URL is an invalid URL so that will never go to your application. So no you can't capture that - IIS will always front that.
+++ Rick ---
I really appreciate your answer.
In this case, I should establish in IIS a suitable configuration for 4xx clients erros and 5xx server errors with structured information of the error in its content.
Best regards, Jesús