Attribute to force a specific HTTP method for an interface method.
The usual URL generation rules are still applied, so if there are any "get", "query" or similar prefixes, they are filtered out.
interface IAPI { // Will be "POST /info" instead of default "GET /info" @method(HTTPMethod.POST) string getInfo(); }
See Implementation
Attribute to force a specific HTTP method for an interface method.
The usual URL generation rules are still applied, so if there are any "get", "query" or similar prefixes, they are filtered out.