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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T13:29:07+00:00 2026-05-15T13:29:07+00:00

When you design URL schema for your application, which rules you use? example.com/post/ or

  • 0

When you design URL schema for your application, which rules you use?

  • example.com/post/ or example.com/posts/ for list of posts
  • example.com/post/new/ or example.com/post/create/ for new post
  • example.com/posts/ + example.com/post/23/ or example.com/post/ + example.com/post/23/ for list and detail of post?
  • example.com/post/23 or example.com/post/23/ for details
  • example.com/post/edit/23/ or example.com/post/23/edit/ for editing.

I’m prefered: /post/ for list, /post/23/ for details, /post/23/edit/ for editing, just b/c I’m can very easy work with that URL by hand in browser location bar. I’m wrong? Suggest me, please.

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-05-15T13:29:08+00:00Added an answer on May 15, 2026 at 1:29 pm

    You should probably use the HTTP POST method when creating a new resource. So, for a new customer, you might POST to example.com/customer. Then if you want information on that customer, do a GET to example.com/customer/{your recently created customer id}. If you want all customers, do a GET to example.com/customer If you want to edit a customer you’ll probably want to PUT to example.com/customer/{your customer id}

    It seems that your fundamental issue is that you are dealing with is that you are specifying your action (or verb) in your URL. You don’t need to do that. Instead of doing something like example.com/edit/23, you should use the HTTP PUT method with example.com/23 (or example.com/customers/23).

    Have a look at what is RESTful/REST for a review on creating RESTful resources.

    Have a look at PUT vs POST in REST for the difference between POST and PUT (edit and create).

    For building more complex RESTful URLs, I generally refer to this presentation from the LinkedIn nerds.

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

Sidebar

Related Questions

Here is the page url http://meracd.com/design/disc_designer.php?disc=cd I've used jqueryUI for the slider. But it
_http://www.mscui.net/PatientJourneyDemonstrator/PrimaryCare.htm I want to create/design the similar to above site/url using silverlight. For this
Hai Friends, I have developed an application which en-composes list views and posted that
I have a URL for my website, which is as follows: http://ashgavs.cloudant.com/site/_design/AshGavsCouch/main/index.html I added
I'm about to design a Zend web application which, in order to render its
Design requirement: Show a list of items the user can pick from After having
Design wise and performance wise which approach is recommended for handling multiple Zeromq sockets
Design an algorithm that, given a list of n elements in an array, finds
This is a general design question about how to make a web application that
hi i am new to css and php too i tried to use it

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.