RESTful Web Services

Keith VanderLinden
Calvin University

REpresentational State Transfer

REST interfaces are guided by these principles.

  • Use HTTP methods explicitly.
  • Be stateless.
  • Expose directory structure-like URIs for resources.
  • Transfer either XML or JavaScript Object Notation.

Managing Data using HTTP

The key data processing operations are:

  • Create
  • Read
  • Update
  • Delete

The key HTTP methods are:

  • GET
  • POST
  • PUT
  • DELETE

Operation Properties

HTTP requires that some of its methods have certain properties.

  • Nullipotency
  • Idempotency

These properties, if implemented properly, give benefits to Web operation.

System Architecture

See the live discussion.