You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For debugging purposes I tried printing out the payload of a blocking multipart post request.
However I could not find a way to see the payload of the request.
let form = reqwest::blocking::multipart::Form::new().text("form1","val1").text("form2","val2");let client = reqwest::blocking::Client::new();let res = client
.post("https://something.com/").multipart(form).build().expect("no build error!");dbg!(res.body().unwrap());// does not print the payload and .as_bytes() only returns None
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
For debugging purposes I tried printing out the payload of a blocking multipart post request.
However I could not find a way to see the payload of the request.
Beta Was this translation helpful? Give feedback.
All reactions