post method

void post(
  1. String path,
  2. HttpRequestHandler handler
)

Implementation

void post(String path, HttpRequestHandler handler) => addRoute(HttpMethod.post, path, handler);