Table of Contents

XApiKey Field

Definition

Namespace
Cuemon.Net.Http
Assemblies
Cuemon.Core.dll
Source
src/Cuemon.Core/Net/Http/HttpHeaderNames.cs

The de facto standard X-Api-Key request HTTP header name.

public const string XApiKey = "X-Api-Key"

Returns

string
The de facto standard X-Api-Key request HTTP header name.

Remarks

X-Api-Key should not be used as authentication/authorization; it is merely a convenient first-line-of-defense in protecting your APIs. Any use of X-Api-Key in this framework will result in 403 Forbidden - and not 401 Unauthorized; for 401 you should use well-known authentication schemes. Further info: https://aws.amazon.com/premiumsupport/knowledge-center/api-gateway-troubleshoot-403-forbidden/