1

I have a .NET 6 function hosted behind AWS API Gateway. When calling the API, consumers are expected to pass in a custom header, let's call it x-foo.

My .NET code passes back this header and its value in its response, and it doesn't change the casing when it does so.

When I call this endpoint via cURL, the response headers show x-foo, still in lowercase.

But when I call this endpoint from Postman, the response headers show X-Foo, in Pascal-Case.

Why would this be happening?

Michael Harris
  • 189
  • 1
  • 10

0 Answers0