curt 0.0.3 curt: ^0.0.3 copied to clipboard
Simple wrapper for curl in dart.
// ignore_for_file: avoid_print
import 'package:curt/curt.dart';
import 'package:http/http.dart';
///
///
///
void main() async {
final Curt curt = Curt();
final Response response = await curt.get(Uri.parse('https://google.com'));
print('Status Code: ${response.statusCode}');
print('Headers: ${response.headers}');
print('Body:\n${response.body}');
}