post method

Future<void> post(
  1. String match,
  2. HttpHandler handler, {
  3. List<OidcOptions>? security,
})

A POST request handler that matches a specific route.

Implementation

Future<void> post(String match, HttpHandler handler,
    {List<OidcOptions>? security}) async {
  await Route(this, opts.basePath + match,
          security: security ?? opts.security, apiClient: _apiClient)
      .post(handler);
}