post method

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

Define a post route.

Implementation

void post(String path, Handler handler) => route(r'post', path, handler);