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 9312063
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 19, 20262026-06-19T01:32:16+00:00 2026-06-19T01:32:16+00:00

I have a situation where I am grappling with REst GET and POST architecture

  • 0

I have a situation where I am grappling with REst GET and POST architecture philosophies in the real world.

I have a REst call that is idempotent in it’s nature. It requires a complex data type in it’s payload (an insurance policy in XML), does complex business logic on it and returns a premium. It does nothing on the state and so is essentially idempotent.

The REst call is a POST at present. The valid justification to this is that the message body is big and is likely to get dropped and get messy with internet explorer. However, it is also idempotent and violates GET Vs POST fundamentally.

Anyone faced this conundrum before? Thanks.

  • 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-19T01:32:17+00:00Added an answer on June 19, 2026 at 1:32 am

    I have the same problem and my solution is pragmatic. My API uses POST even for idempotent when facing the GET request limitations, so:

    If the form data would contain non-ASCII characters or;
    If the form data set is large.
    

    I think there are other exceptions, but I can’t think one right now.

    UPDATE: one more exception, if, for some reason, I don’t want a parameter to be visible in the request url I also use POST for idempotent.

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

Sidebar

Related Questions

i have situation like this: class IData { virtual void get() = 0; virtual
I have situation, where running a query that filters by an indexed column in
We have situation where say we have four engineers that are working on software
I have situation where I have to call method of interface using reflection, like
I have situation like this: I have commited files a,b,c,d.Now i found that by
Current situation: Have a timesheet that allows the user to enter their leave, TOIL,
I have this situation where I declare inside my main class a function that
I have a situation where I need to ensure that there is only one
is there any limit of POST arguments? I have situation where on dev server
I have a situation with a form that stretches over several pages (might not

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.