Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9225505
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T04:35:35+00:00 2026-06-18T04:35:35+00:00

Does the HttpDelete contain a method like setEntity(), like HttpPost or HttpPut? When I

  • 0

Does the HttpDelete contain a method like setEntity(), like HttpPost or HttpPut?
When I use HttpPost i do something like this:

httppost.setEntity(new UrlEncodedFormEntity(
    getNameValuePairsForFriends(context, friendID))); 

How can I do this with wtih delete?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T04:35:36+00:00Added an answer on June 18, 2026 at 4:35 am

    I do not believe that HTTP DELETE takes input – I believe it acts like a GET variant.

    The implementation provided by HTTP Client seems to support this conjecture as well.

    If you are looking to provide a delete with a body, you /might/ want to consider using a POST to a location that accepts a body.

    But in answer to your question, no, delete does not accept a body. You can add query parameters but not a body.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'd like to use the appropriate HTTP method when possible. In this case, when
Does anybody see what am doing wrong here, i get this error the method
Does anybody know why this function, when passed an invalid date (e.g. timestamp) to
Does anyone know a good resource that I can use in the browser that
Does anyone know the time complexity of the operations of TreeMap like - subMap,
Does server side Dart support sessions like in PHP: <?php session_start(); $_SESSION['fruit'] = 'apple';
Does this code get called for every object creation in Java, because every object
Does anyone know what this message means (or when it raises)? CFURLCopyResourcePropertyForKey failed because
Does any one know of a good tutorial, or jQuery plugin i can use
Does the scrypt program use a hashing algorithm behind the scenes? What's the output

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.