curl_logger_interceptor 0.0.3
curl_logger_interceptor: ^0.0.3 copied to clipboard
A Dio interceptor that generates curl commands from HTTP requests, including support for FormData and multipart files.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add curl_logger_interceptorWith Flutter:
$ flutter pub add curl_logger_interceptorThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
curl_logger_interceptor: ^0.0.3Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:curl_logger_interceptor/curl_logger_interceptor.dart';