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

  • Home
  • SEARCH
  • 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 6346203
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T20:58:23+00:00 2026-05-24T20:58:23+00:00

Just curious, but I am making an API and have been thus far using

  • 0

Just curious, but I am making an API and have been thus far using URLs like this:

/user/create

/user/[id]

and now I am adding

/user/create/batch

This made me wonder if there is any good reason I should call the user management endpoint ‘users’ rather than just ‘user’. Then again, maybe it doesn’t matter at all. I would at least guess I should be consistent about this either way.

Thoughts?

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

    I nearly always use plurals in my url design. I always think of navigating in my url paths, similar to directories, where I am descending deeper and deeper.

    There is a top resource (like /users) which expresses a collection and there are sub-resources (like /users/{userId}/items) which itself is a collection.

    All apis and their representing domain I have seen so far would have fit to above recommendation.

    Regarding your mentioned /users/create/batch looks like you want to encode an ‘action’ inside url. In a restful design over HTTP it would fit better if you use HTTP methods POST /users (single user payload) or for batch creation mode transmitting multiple users.
    What does the ‘create’ and ‘batch’ mean in your case?

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

Sidebar

Related Questions

I'm just curious, but is there a name for the process using print statements
This is easy to work around, but I just curious if I could be
I'm not asking as to how go about doing this, but just curious if
Just a curious question but is there any programs that can help/aid you when
Just curious what is the best practice for solving the following issue. I have
Just curious. Right now I'm using Visual C# Express 2008 for Desktop Apps, and
Just curious how you would comment this line of code: string customerNm = customerNm.EndsWith(s)
Just curious if there is anyway to display an objects retain count using NSLog.
Just curious what the experience has been in uploading MS Access tables to SharePoint
I was just working on some code and caught myself making this error if

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.