curt 0.0.2 copy "curt: ^0.0.2" to clipboard
curt: ^0.0.2 copied to clipboard

Simple wrapper for curl in dart.

example/curt_example.dart

import 'package:curt/curt.dart';
import 'package:http/http.dart';

///
///
///
void main() async {
  final Curt curt = Curt();
  Response response = await curt.get(Uri.parse('https://google.com'));
  print('Status Code: ${response.statusCode}');
  print('Headers: ${response.headers}');
  print('Body:\n${response.body}');
}
4
likes
0
pub points
32%
popularity

Publisher

verified publisher3daysapp.com.br

Simple wrapper for curl in dart.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

http

More

Packages that depend on curt