const content = 'Hellow World';
url: 'https://httpbin.org/post',
method: FetchMethod.post,
data: FetchData.fromString(content),
/// process the json response.
Parser(read(file).toList()).jsonDecode() as Map<String, dynamic>;
expect(map['data'] as String, equals(content));
(map['headers'] as Map<String, dynamic>)['Content-Type'] as String,
} on FetchException catch (e) {
print('Exception Thrown: ${e.errorCode} ${e.message}');
/// print the returned data including any errors.
print(read(file).toParagraph());