Post registers a route for the Post HTTP Method. Returns a *Route and an error which will be filled if route wasn't registered successfully.
(relativePath string, handlers ...context.Handler)
| 1490 | // |
| 1491 | // Returns a *Route and an error which will be filled if route wasn't registered successfully. |
| 1492 | func (api *APIBuilder) Post(relativePath string, handlers ...context.Handler) *Route { |
| 1493 | return api.Handle(http.MethodPost, relativePath, handlers...) |
| 1494 | } |
| 1495 | |
| 1496 | // Put registers a route for the Put HTTP Method. |
| 1497 | // |