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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T20:50:25+00:00 2026-05-28T20:50:25+00:00

Example 1: http://www.example.com/image/logo.png http://www.example.com/images/logo.png Example 2: http://www.example.com/user/johndoe http://www.example.com/users/johndoe Especially if you use the Url

  • 0

Example 1:

http://www.example.com/image/logo.png
http://www.example.com/images/logo.png

Example 2:

http://www.example.com/user/johndoe
http://www.example.com/users/johndoe

Especially if you use the Url as REST API. (Example 2)

Which one is recommended and why?

  • 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-28T20:50:26+00:00Added an answer on May 28, 2026 at 8:50 pm

    For REST, i mainly use the plural form to indicate a path to the resource. But you also have to take the Cacheablility, Frequency of Change and the Mutability of the Resource. In my case, collections of the resource is mainly the case, so i had used the plural form.

    The reason for this is that for example:

    http://www.example.com/users/johndoe
    

    will serve the URI to GET the user johndoe which belongs to your collection of users.

    http://www.example.com/users
    

    will be used as the URI to GET all users and can be easily be used on query url like:

    http://www.example.com/users?limit=5
    

    creating a new user will still use the same URL then using POST & passing the parameters:

    http://www.example.com/users
    

    for refs you may want to check the Oreilly book RESTful Web Services Cookbook

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

Sidebar

Related Questions

I've got the URL of an image (http://www.example.com/logo.png), but I don't know how to
I have an URL like this http://www.example.com/Data/image/office-dôn-sì-à.jpg I want to copy that file to
I have an url with an image: http://www.example.com/image.jpg and I have an action in
I can copy remote image to my server with; @copy(http://www.example.com/image.jpg, $title.'.jpg'); But I want
Given the following HTML: <p>This is text and this is an image <img src=http://www.example.com/image.jpg
This is my HTML structure. <a href=www.example.com rel=group-1 class=project> <img src=http://www.example.com/image.png> </a> <div class=data>
From this example http://www.senchafiddle.com/#dPZn0 This displays a first panel, then a second one... using
Please check the following example: http://www.esaer.com.br/csstest/ If the vertical scrollbar doesn't appear, please resize
I have tried this example http://www.bennadel.com/blog/1056-ColdFusion-CFPOP-My-First-Look.htm , but it retrieve emails from POP server.
I'm following this example: http://www.codinghorror.com/blog/2005/12/getting-started-with-indexing-service.html However, the conversion to dataset shows empty columns for

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.