简体   繁体   中英

How to get the raw request with dio package on flutter

Is there any way to get the 'raw' part of the request like on this website: https://reqbin.com ? I have been trying for hours to figure out why my request is perfectly fine on curl and this website and still have problems in android studio with dio package . I could figure out in one instant if only I could get the raw output of the request sent by dio.

Ok I figured out a simple way just by using devtool and check network, then click on the POST method.

To install devtools follow these instructions

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM