# RoutePostAttribute constructor

Kind: Constructor  
Namespace: `Sisk.Core.Routing`  
Assembly: `Sisk.Core.dll`  
Source: https://docs.sisk-framework.org/api/Sisk.Core.Routing.RoutePostAttribute.-ctor.html

## RoutePostAttribute(string) {#Sisk_Core_Routing_RoutePostAttribute__ctor_System_String_}

Creates an new [RoutePostAttribute](https://docs.sisk-framework.org/api/Sisk.Core.Routing.RoutePostAttribute.md) attribute instance with given path.

```csharp
public RoutePostAttribute(string path)
```

### Parameters

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

The POST route path.

## RoutePostAttribute() {#Sisk_Core_Routing_RoutePostAttribute__ctor}

Creates an new [RoutePostAttribute](https://docs.sisk-framework.org/api/Sisk.Core.Routing.RoutePostAttribute.md) attribute instance with an root path (/).

```csharp
public RoutePostAttribute()
```
