I'm totally new in web development and I tried to create a simple rest api in vs2019/windows server 2016 for evaluation purpose.
My case/issue is as follows. I have a simple controller which has a 2 argument(string, string) method. If the whole request utf8 string is > 2101 characters the server returns a 404 in general.
I test this limitless time, with a dummy ("AAAAA.....") request string. 2002 length fails and 2001 length works. I tried to fix web.config
but without luck, now I have a maxQueryStringLength exception
.
Can anyone point me to the right direction?