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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T01:27:47+00:00 2026-05-11T01:27:47+00:00

This is one of those little detail (and possibly religious) questions. Let’s assume we’re

  • 0

This is one of those little detail (and possibly religious) questions. Let’s assume we’re constructing a REST architecture, and for definiteness lets assume the service needs three parameters, x, y, and z. Reading the various works about REST, it would seem that this should be expressed as a URI like

http://myservice.example.com/service/ x / y / z

Having written a lot of CGIs in the past, it seems about as natural to express this

http://myservice.example.com/service?x=val,y=val,z=val

Is there any particular reason to prefer the all-slashes form?

  • 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. 2026-05-11T01:27:47+00:00Added an answer on May 11, 2026 at 1:27 am

    The reason is small but here it is.

    Cool URI’s Don’t Change.

    The http://myservice.example.com/resource/x/y/z/ form makes a claim in front of God and everybody that this is the path to a specific resource.

    Note that I changed the name. There may be a service involved, but the REST principle is that you’re describing a specific web resource, named /x/y/z/.

    The http://myservice.example.com/service?x=val,y=val,z=val form doesn’t make as strong a claim. It says there’s a piece of code named service that will try to do some sort of query. No guarantees.

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

Sidebar

Ask A Question

Stats

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

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

    • 7 Answers
  • Editorial Team

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

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer Use gmmktime. May 11, 2026 at 11:34 am
  • added an answer The WindowClosingEvent will be fired if a User attempts to… May 11, 2026 at 11:34 am
  • added an answer You can't order a dict per se, but you can… May 11, 2026 at 11:34 am

Related Questions

This is one of those little detail (and possibly religious) questions. Let's assume we're
This is one of those ajax alternate flow questions. Normally I expect my ajax
This is one of those meta-programming questions that may or may not belong on
This is one of those things, that maybe so simple I'll never find it
This is probably one of those easy questions.. I'm trying to redirect the user
This is one of the possible ways I come out: struct RetrieveKey { template
This is one of the minor CSS problems that plague me constantly. How do
This is one of the most used Regex functions Regex.IsMatch(Test text for regex test.,
This is probably one of the most common tasks / problems when programming; You
This is also a question that I asked in a comment in one of

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.