post method
Issues a POST request with an optional body.
Implementation
Future<NitroTestResponse> post(
String path, {
Object? body,
Map<String, String>? headers,
}) => request(HttpMethod.post, path, body: body, headers: headers);
Issues a POST request with an optional body.
Future<NitroTestResponse> post(
String path, {
Object? body,
Map<String, String>? headers,
}) => request(HttpMethod.post, path, body: body, headers: headers);