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

Simple wrapper for curl in dart.

example/curt_example.dart

// ignore_for_file: avoid_print

import 'package:curt/curt.dart';

///
///
///
void main() async {
  final Curt curt = Curt();
  final CurtResponse 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, intl

More

Packages that depend on curt