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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T11:21:53+00:00 2026-06-09T11:21:53+00:00

What if http://example.com/foo and http://example.com/bar both represent the same resource and the server does

  • 0

What if http://example.com/foo and http://example.com/bar both represent the same resource and the server does not distinguish between the two? What if it uses them interchangeably within documents that form the engine of application state (following HATEOAS), so that it displays /bar in some contexts and /foo in others?

Is this RESTful?

One potential benefit of this is to attach descriptors to URIs, e.g. http://example.com/article/30204/The-Quick-Brown-Fox, for the sake of bookmarks, search engine queries, and in general the potential for people to recognize a URI just by looking at it.

  • 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-09T11:21:55+00:00Added an answer on June 9, 2026 at 11:21 am

    It is perfectly acceptable from a REST point of view for a resource to have multiple URIs, so long as those URIs are discovered by following hypermedia controls from the application’s published entry point. However, I would recommend against doing so. Having multiple URIs means that some cache hits will now be misses and you can potentially confuse people as it will not be clear if the two URIs lead to the same resource or two different resources that are very similar.

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

Sidebar

Related Questions

I need a regular expression which matches: http://example.com/foo http://example.com/foo/ http://example.com/foo/bar but not: http://example.com/foobar Using
I have a JSP page at an address like this: http://example.com/foo/bar/rawr/something.jsp When I output
I have a line of text that looks like this foo bar http://www.example.com ->
For example: http://foobar.com/foo/bar/foobar.php From this address, I need to extract the following: http://foobar.com/foo/bar I
I have a PHP5/Zend Framework 1.8.1 web site which is located at: http://www.example.com/foo The
I have two websites: http://example.com http://example.com/sub I have a page, let's say: http://example.com/sub/page1 Is
Example: foo is a tool used to do foo. Download_ .. _Download: http://example.com/foo blah
For example, I have an URL that looks for an image like this: http://example.com/img/foo.png
I'd like to redirect: http://site.com/FOO/BAR/BAZ to http://site.com/FOO/NEW/BAZ so, subsitute the second segment in my
Firefox: http://example.com/about/#anchor -> http://www.example.com/about/#anchor Internet Explorer 6-8: http://example.com/about/#anchor -> http://www.example.com/about/ Why is the anchor

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.