# CrossOriginResourceSharingHeaders.AutoFromRequestMethod

Kind: Field  
Namespace: `Sisk.Core.Entity`  
Assembly: `Sisk.Core.dll`  
Source: https://docs.sisk-framework.org/api/Sisk.Core.Entity.CrossOriginResourceSharingHeaders.AutoFromRequestMethod.html

## AutoFromRequestMethod {#Sisk_Core_Entity_CrossOriginResourceSharingHeaders_AutoFromRequestMethod}

When applied to the [AllowMethods](https://docs.sisk-framework.org/api/Sisk.Core.Entity.CrossOriginResourceSharingHeaders.AllowMethods.md) property, the HTTP server automatically applies
the incoming request method to the Access-Control-Allow-Origin header.

```csharp
public const string AutoFromRequestMethod = "<SISK_AUTO_FROM_REQUEST_METHOD>"
```

### Field Value

[string](https://learn.microsoft.com/dotnet/api/system.string)
