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

A convenient package that allows developers to interact with the curl command within elegance of the Dart programming language.

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
150
pub points
40%
popularity

Publisher

verified publisher3daysapp.com.br

A convenient package that allows developers to interact with the curl command within elegance of the Dart programming language.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

intl

More

Packages that depend on curt