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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T22:48:03+00:00 2026-05-12T22:48:03+00:00

We are re-developing our buyonline functionality and we are doing it the RESTful way.

  • 0

We are re-developing our buyonline functionality and we are doing it the RESTful way.

The process is a three step one and the customer is asked to enter data at each step.

Let’s say the three URL’s are;

/step1.aspx

/step2.aspx

/step3.aspx

Each step is pretty autonomous and don’t require data from any of the other steps.

The question is how do I stop customers directly navigating to step2 w/out first completing the details in step1 given each step knows nothing about the previous step?

I know I can add a property to my object model telling me which step was the last one etc but doesn’t that kinda break the whole REST principle?

I also don’t want to check my model as to whether details in a previous step have been fileld in because again that violates REST principles.

I think I’m slowly resigning myself to a concept that I need (something) to tell me where I have been but I don’t want that.

Should/Can the controller perhaps detect that the history doesn’t contain the previous step placing control back to where I think it should be?

  • 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-12T22:48:03+00:00Added an answer on May 12, 2026 at 10:48 pm

    REST URLs are supposed to represent entities. e.g. books / orders / photos etc.

    I think the confusion above is that you’re trying to represent a booking sequence in REST terms as entities, and (of course) they’re not. So the objects that your customers can select, their orders etc. may be usefully represented in this fashion. Other elements of the process shouldn’t be.

    You may argue that step 1 represents an address (for the sake of argument). But POSTing an address object is distinct from entering that data in a form and permitting navigation to/from related pages. That operation has a sequence or flow to it, and is conceptually richer than simply POSTing/GETing/DELETEing an address. You’ve illustrated this by arguing you want to prevent someone completing step 2 without completing step 1 etc.

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

Sidebar

Ask A Question

Stats

  • Questions 224k
  • Answers 224k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer I use ActionWebService for that purpose. Build the server in… May 13, 2026 at 12:46 am
  • Editorial Team
    Editorial Team added an answer Are you using the [] operator to insert into the… May 13, 2026 at 12:46 am
  • Editorial Team
    Editorial Team added an answer Try giving bsearch the address of key. May 13, 2026 at 12:46 am

Related Questions

At my current job, we're looking to implement our own odbc driver to allow
We are actively developing a website using .Net and MVC and our testers are
We are developing an application to do a hearbeat test of all our SQL
We're developing a web application that is going to be used by external clients
We are developing a .NET 2.0 winform application. The application needs to access Web

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.