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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T02:44:04+00:00 2026-05-24T02:44:04+00:00

Some RESTful services use different resource URIs for update/get/delete and Create. Such as Create

  • 0

Some RESTful services use different resource URIs for update/get/delete and Create. Such as

  • Create – using /resources with POST method (observe plural) at some places using /resource (singular)
  • Update – using /resource/123 with PUT method
  • Get – Using /resource/123 with GET method

I’m little bit confused about this URI naming convention. Should we use plural or singular for resource creation? What should be the criteria while deciding that?

  • 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-24T02:44:06+00:00Added an answer on May 24, 2026 at 2:44 am

    The premise of using /resources is that it is representing “all” resources. If you do a GET /resources, you will likely return the entire collection. By POSTing to /resources, you are adding to the collection.

    However, the individual resources are available at /resource. If you do a GET /resource, you will likely error, as this request doesn’t make any sense, whereas /resource/123 makes perfect sense.

    Using /resource instead of /resources is similar to how you would do this if you were working with, say, a file system and a collection of files and /resource is the “directory” with the individual 123, 456 files in it.

    Neither way is right or wrong, go with what you like best.

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

Sidebar

Related Questions

Why and when to use RESTful services? I know how to create a WCF
I need to create user authentication and some web services using Django (clients will
Sorry, this questions sounds silly, but after developing some of my RESTful services using
I'm about to build some RESTful web services using WCF and .NET 3.5 in
I've got some RESTful services running in a pure WCF context (i.e. ASP.NET compatibility
I want to call some RESTful web services from a J2ME client running on
I created a RESTful service using WCF which calculates some value and then returns
Hi can anyone past some code how to do a restful web service get
Let's say we want a RESTful web service to manage some logically nested resources,
I'm developing some RESTful services in WCF 4.0. I've got a method as below:

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.