postRequest method
Sends a POST request and inspects the response.
Implementation
Future<InspectionResult> postRequest(
String path, {
required Map<String, String> formData,
}) async {
return request(
'POST',
path,
options: DevRequestOptions(
formData: formData,
contentType: Headers.formUrlEncodedContentType,
),
);
}