| 15 | |
| 16 | === REST Methods === |
| 17 | |
| 18 | It is critical to understand that RESTful requests have two components that determine the response: |
| 19 | |
| 20 | - the URL addresses the resource |
| 21 | - the HTTP method determines the action to be taken with that resource |
| 22 | |
| 23 | Thus, a HTTP/GET of an URL means something completely different than HTTP/PUT or HTTP/DELETE. |
| 24 | |
| 25 | A resource in this terminology is either of: |
| 26 | |
| 27 | - a database table or one or more records in that table |
| 28 | - a combination of tables or records (so called "compound" or "joined" resources) |
| 29 | - a function in the application related to one of the above resource types |
| 30 | |