REST (Representational State Transfer) is a style of software architecture for distributed hypermedia systems such as the World Wide Web. It has increased in popularity relative to RPC-based architectures such as SOAP due to the intrinsic de-coupling of client from server that comes from having a ...
969
votes
15answers
262k views
PUT vs POST in REST
According to the HTTP/1.1 Spec:
The POST method is used to request that the origin server accept the entity enclosed in the request as a new subordinate of the resource identified by the ...
553
votes
13answers
83k views
What exactly is RESTful programming?
What exactly is RESTful programming?
Don't give me links to wikipedia please, I'm hoping for a straight-forward answer, not some BUZZ-word-ful answer.
Bonus question: Should I feel stupid because I ...
325
votes
10answers
112k views
Best Practices for securing a REST API / web service
When designing a REST API or service are there any established best practices for dealing with security (Authentication, Authorization, Identity Management) ?
When building a SOAP API you have ...
295
votes
6answers
54k views
Best practices for API versioning? [closed]
Are there any known howtos or best practices for web service REST API versioning?
I have noticed that AWS does versioning by the URL of the endpoint. Is this the best way?
261
votes
10answers
81k views
Representational state transfer (REST) and Simple Object Access Protocol (SOAP)
Can somebody explain what is REST and what is SOAP in plain english? And how Web Services work?
241
votes
16answers
98k views
Recommendations of Python REST (web services) framework? [closed]
Is there a list somewhere of recommendations of different Python-based REST frameworks for use on the serverside to write your own RESTful APIs? Preferably with pros and cons.
Please feel free to add ...
237
votes
5answers
106k views
REST / SOAP endpoints for a WCF service
I have a WCF service and I want to expose it as both a RESTfull service and as a SOAP service.
Anyone has done something like this before?
227
votes
2answers
73k views
PHP detecting request type (GET, POST, PUT or DELETE)
How can I detect which request type was used(GET, POST, PUT or DELETE) in php?
198
votes
9answers
24k views
Understanding REST: Verbs, error codes, and authentication
I am (as a follow-up to this question) looking for a way to wrap APIs around default functions in my PHP-based web applications, databases and CMSs.
I have looked around and found several "skeleton" ...
190
votes
23answers
33k views
SOAP or REST for Web Services?
Is REST a better approach to doing Web Services or is SOAP? Or are they different tools for different problems? Or is it a nuanced issue - that is, is one slightly better in certain arenas than ...
177
votes
8answers
50k views
Node.js REST framework? [closed]
Just got node.js running on an ubuntu server instance. Got a couple of simple server apps running. Does anyone know of any REST frameworks that have been built or are in development?
160
votes
9answers
50k views
How to create REST URLs without verbs?
I'm struggling to determine how to design restful URLs. I'm all for the restful approach of using URLs with nouns and not verbs don't understand how to do this.
We are creating a service to ...
159
votes
11answers
63k views
RESTful Authentication
What does RESTful Authentication mean and how does it work. I can't find a good overview on google. My only understanding is that you pass the session key (remeberal) in the URL, but this could be ...
154
votes
9answers
14k views
Pagination in a REST web application
This is a more generic reformulation of this question (with the elimination of the Rails specific parts)
I am not sure how to implement pagination on a resource in a RESTful web application.
Assuming ...
145
votes
12answers
55k views
HTTP GET with request body
I'm developing a new RESTful webservice for our application.
When doing a GET on certain entities, clients can request the contents of the entity.
If they want to add some parameters (for example ...