Linked Questions

0 votes
1 answer
105 views

so i need to create a rest endpoint that basically creates an entry in the database, a address token when the customer is initialised. I have two possible endpoints: POST - customer/address-token -...
user1555190's user avatar
  • 3,403
1 vote
0 answers
60 views

I am learning RESTful webservices using JAX-RS Jersey. Although we have different HTTP Methods for different purposes like: GET for Reading a resource DELETE fro deleting a resource PUT and POST for ...
Kishor Prakash's user avatar
432 votes
9 answers
233k views

When should a trailing slash be used in a URL? For example - should my URL look like /about-us/ or like /about-us? I am fully aware of the SEO-related issues - duplicate content and the canonical ...
Denis's user avatar
  • 5,048
149 votes
11 answers
340k views

Let's assume a service offers some funcionality that I can use like this: GET /service/function?param1=value1&param2=value2 Is it right to say that I can use it with a POST query? POST /service/...
hank's user avatar
  • 9,923
43 votes
3 answers
29k views

Curious how others here would represent these in a REST architecture. /users/login/ /users/logout/ These endpoints set up the session to login in the user, or clear it, respectively. My gut says POST,...
onassar's user avatar
  • 3,638
21 votes
7 answers
5k views

I'm well into implementing a REST service (on a Windows CE platform if that matters) and I started out using IBM's general definitions of using POST for creating (INSERTs) and PUT for updating. Now ...
33 votes
4 answers
9k views

There is another similar question to mine, but the discussion veered away from the problem I'm encounting. Say I have a system that deals with expense reports (ER). You can create and edit them, add ...
Richard Levasseur's user avatar
20 votes
2 answers
11k views

there been quite good thread on rest urls in SO. Is this a bad REST URL? Understanding REST: Verbs, error codes, and authentication I see a good resource here as well. The question is how to ...
bsr's user avatar
  • 59k
10 votes
2 answers
15k views

I'm finding it necessary to understand why including action verbs in the URI violates the REST protocol for URI syntax? When I read the following article, I sense that too many people are making too ...
4 votes
5 answers
3k views

I've just been reading about REST URLs and seen the following example: /API/User/GetUser Now if this is accessed over HTTP with a verb GET isn't this a bad URL becuase it describes the action (GET) ...
AwkwardCoder's user avatar
  • 25.8k
7 votes
5 answers
5k views

What are the good choice for API error code response pattern? Instead of using different codes indicating different type of error 100001 // username not provided 100002 // password not provided ...
Ryan's user avatar
  • 10.2k
12 votes
1 answer
6k views

Many questions has been asked on Stack Overflow for RESTful URL design To name a few... Hierarchical URL Design: Hierarchical RESTful URL design Understanding REST: Verbs, error codes, and ...
Dachstein's user avatar
  • 4,342
2 votes
4 answers
8k views

I want to add actions to my REST API that would move 'resources' between different 'stores'. For instance, suppose my resources are normally accessed by the following URL: /resources /resources/{...
Alexander's user avatar
  • 2,926
4 votes
1 answer
17k views

I have an application running with AS2/PHP. The AS2 communicate with PHP scripts via $_POST array of data, this array contains data like sessionkey, userID, and some database filtering (sql limit, ...
kitensei's user avatar
  • 2,540
1 vote
1 answer
18k views

Why not just add http get support in config and that's done with the advantage that the service will be dual both SOAP AND REST? What's all the buzz around rest ? What WCF will bring to this ? I ...
user310291's user avatar
  • 38.6k

15 30 50 per page