curl_logger_dio_interceptor
터미널에서 HTTP 요청을 curl 명령어로 출력하세요. 동료들과 쉽게 공유하고 Postman에 가져올 수 있습니다!
OwnWeb/curl_logger_dio_interceptor open-source repository details.
아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
A Flutter curl-command generator for Dio.
Easily test your Flutter-made requests in your favorite terminal or even in Postman or Insomnia.
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!
_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.
By default, convertFormData is true and converts FormData to plain Map so we can get a CURL
representation even while using FormData (as for file uploads).
의존성 목록 2 개
^5.1.1^1.0.4사용 목적에 따라 검색하고 개발 활동을 비교한 뒤 원본 저장소에서 요구 사항을 확인하세요.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗