curt 0.2.1 copy "curt: ^0.2.1" to clipboard
curt: ^0.2.1 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}');
}
5
likes
150
points
92
downloads

Publisher

verified publisher3daysapp.com.br

Weekly Downloads

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

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

intl

More

Packages that depend on curt