post method

Route<T> post (String path, T handler, { Iterable<T> middleware })

Adds a route that responds to a POST request.

Implementation

Route<T> post(String path, T handler, {Iterable<T> middleware}) {
  return addRoute('POST', path, handler, middleware: middleware);
}