key characteristics of api code example
Example: key characteristics of api
-REST is stateless; therefore, the SERVER
has no status (or session data).
With a well-applied REST API, the server
could be restarted between two calls,
since all data is transferred to the server.
-Web service uses POST method primarily
to perform operations, while REST uses
GET for accessing resources.