Creating the service
There are many ways to create a service, such as via REST.
For those who haven’t worked with REST before, REST stands for representational state transfer. Simply put, it is a way for machines to talk to other devices using HTTP.
With REST, we use different HTTP verbs for different operations. They could look something like this:
URI |
Verb |
Action |
|
Get |
Gets a list of blog posts |
|
Post |
Creates a new blog post |
|
Get |
Gets a blog post with a specific ID ... |