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

  • Home
  • SEARCH
  • 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 6528197
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T09:30:44+00:00 2026-05-25T09:30:44+00:00

Currently I am implementing API calls using Servlet. Whenever there is a call to

  • 0

Currently I am implementing API calls using Servlet.

  • Whenever there is a call to fetch data, I use doGet() (GET request).
  • To put data I use doPost() (POST request).

From reading the references, I got the idea to use POST whenever you change the database, and GET is simply for fetching the data.

I need to implement a call to delete an item from the database. Should I implement this with POST or GET?

  • 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-05-25T09:30:45+00:00Added an answer on May 25, 2026 at 9:30 am

    Yes, use doPost(..). If you are making a REST API you can consider doDelete(..)

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

Sidebar

Related Questions

I'm setting up an application using Paypal Adaptive Payments. I'm currently implementing the call
I am currently implementing streaming twitter api using node.js & socket.oi Wondering how does
I'm currently implementing a pageview counter on some webpages using the Google Analytics API.
I'm currently implementing a RESTful API (nothing serious, just for a blog engine i'm
I'm currently implementing a very complex tree structure to allow for near-instant data access,
I'm currently implementing a .NET wrapper for a Java library by using JNI to
I'm currently implementing a HTML canvas based webapp that features panning. Is there a
I'm currently implementing a software keyboard ( using some sophisticated prediction ), and drawing
I'm currently implementing a Silverlight application using WCF for the communication between client and
I am currently looking into implementing a client which will use an existing extensive

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.