Is it possible to use this legacy https client also for a simple DELETE call? #3613
Unanswered
frederikhors
asked this question in
Q&A
Replies: 1 comment 6 replies
-
Yes, you can. It's just complaining that the body types for your request are different. You could use something like |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have this hyper client:
and I'm using
legacy_client
for code like:Now I would like to use that
legacy_client
also for a simpleDELETE
call. Is it possible?I tried with:
but it throws with:
How can I fix this?
I would like to use the
hyper_util::client::legacy
because I don't want to add another dependency such as "reqwest" to my project.Beta Was this translation helpful? Give feedback.
All reactions