fetch_api 1.0.0-dev.4 copy "fetch_api: ^1.0.0-dev.4" to clipboard
fetch_api: ^1.0.0-dev.4 copied to clipboard

outdated

JavaScript bindings for Fetch API, allowing a flexible HTTP requests.

example/fetch_api_example.dart

import 'package:fetch_api/fetch_api.dart';


void main() async {
  final response = await fetch('https://proxy.cors.sh/https://example.com', RequestInit(
    mode: RequestMode.cors,
  ),);

  print(await response.text());
}
11
likes
0
points
134k
downloads

Publisher

verified publishernull.moe

Weekly Downloads

JavaScript bindings for Fetch API, allowing a flexible HTTP requests.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

js

More

Packages that depend on fetch_api