curl_logger_dio_interceptor 0.0.1 copy "curl_logger_dio_interceptor: ^0.0.1" to clipboard
curl_logger_dio_interceptor: ^0.0.1 copied to clipboard

outdated

A Flutter curl-command generator for Dio.

curl_logger_dio_interceptor #

A Flutter curl-command generator for Dio.

[curl_logger_dio_interceptor log output]

Easily test your Flutter-made requests in your favorite terminal or even in Postman or Insomnia.

Why? #

Sometimes you want to replay the HTTP requests made in your app, or you want to share it with your beloved backend developer. Or you just love CURL.

Use your app as you want, and when the broken-request comes, look at your terminal, copy and paste it, and enjoy replaying it easily!

Features #

  • Simple GET/POST/DELETE/PUT requests logging
  • With data when available
  • Postman-ready

Getting Started #

_dio = Dio();

_dio.interceptors.add(CurlLoggerDioInterceptor());

Depending on your needs, you can also pass printOnSuccess: true to print all requests instead of only errored ones.

33
likes
0
points
24k
downloads

Publisher

verified publisherownweb.fr

Weekly Downloads

A Flutter curl-command generator for Dio.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

dio, flutter

More

Packages that depend on curl_logger_dio_interceptor