req 1.0.3 copy "req: ^1.0.3" to clipboard
req: ^1.0.3 copied to clipboard

http get or post with timeout ( default 60 seconds )

example/example.dart

import 'package:req/init.dart';

void main() async {
  final r = await req.get('https://www.qq.com/robots.txt');

  print(r.statusCode);
  print(await r.text());
  print('done');
}
1
likes
120
pub points
16%
popularity

Publisher

verified publisherrmw.link

http get or post with timeout ( default 60 seconds )

Repository (GitHub)
View/report issues

Documentation

API reference

License

MPL-2.0 (LICENSE)

More

Packages that depend on req