I have a project written in .NET and I updated my server from IIS 2012 to IIS 2019.
Before this update, every time I asked for response from the API and wrote &format=xml at the end of the URL I got the response in XML instead of Json.
For example:
https:....../get-customer-details?customerID=127836
my response in Json
https:....../get-customer-details?customerID=127836&format=xml
my response in XML
So now, after the update, &format=xml
returns an error page can’t be found
instead of XML response like before.
What may cause the problem?
Thanks!
I tried to check IIS configuration options and didn't find anything.