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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T08:10:00+00:00 2026-06-13T08:10:00+00:00

For example, create an object, updating an object, retrieving an object by ID, retrieving

  • 0

For example, create an object, updating an object, retrieving an object by ID, retrieving an object by name.

POST to: /object/create
POST to: /object/update
GET to: /object/getById?id={0}
GET to: /object/getByName?name={0}

Or is there a convention of maybe /object/create/create or similar?

I’m trying to create a uniform style of webservice.

  • 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-13T08:10:01+00:00Added an answer on June 13, 2026 at 8:10 am

    There are many ways to model URIs, You will get a lot of confusing references on web, not that they are wrong but most of them are correct in their own context.

    http://soaprobe.blogspot.co.uk/2012/10/soa-rest-service-naming-guideline.html

    http://architects.dzone.com/news/common-rest-design-pattern

    In your example may be you can model it this way.

    POST to: /object – this will create the object

    PUT to: /object — this will update the object

    GET to: /object?id={0} — this will GET the object by id

    GET to: /object?name={0} — this will update the object by name

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

Sidebar

Related Questions

In the following example i can create an object dynamically via a string; however,
How can I do inheritance with this example. I'm trying to create an object
How is it possible to create for example an object with perspective. For example:
I want code to run whenever I create a new object. For example, see
In my example, I'm trying to create a new object which has references to
I am updating a user object, but before the save/update I need to perform
Example: I have an class that inherits from UIImageView. An object creates an instance
In this example I create three buttons 'one' 'two' 'three'. When clicked I want
I am trying to make a webpage with Ajax. Example: I create a Perl/CGU
I'll try create a controler in towerjs, but I have an error while updating

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.