Skip to content

PostAttribute

1 min read

Import: import system.webapi;

Read the usage guide for examples and common tasks. This reference lists the public declarations for this part of the library. See Reading API signatures for parameter and result notation.

PostAttribute

Declares an HTTP POST route.

public struct PostAttribute

path

Route path relative to the router prefix; named segments use {name}.

public path: string