5b7fce8fd65fe04d18552d7e0093cfb73d6914e1
Convert RestType to uppercase in the switch statement to ensure case-insensitive matching of REST types. This change handles variations like "get", "Get", and "GET" consistently. Additionally, use the null-conditional operator to prevent NullReferenceException when RestType is null.
Description
Languages
C#
100%