0

I've been using HttpURLConnection and it's been working so far, and it handles cookies with two lines but now I need to call a http delete request and it needs parameters and the server gets them form the body.

Apparently you can't send a delete method with a body, so I'm not sure if there's a workaround or if I have to abandon HttpURLConnection and use something else for the whole app.

Is there a way to use something else for delete while keeping httpURLConnection for the rest of the app, and what's the recommended one. And is it possible to also give it the session made in still giving it the session made in cookiemanager?

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129
user2312638
  • 443
  • 2
  • 6
  • 17

0 Answers0