HTTP Protocol - ABO

Back Office Integration Guide

Product
ABO
AFS_Version
7.9
Category
Reference Guide
language
English

The benefits of the HTTP protocol for handling resources are:

  • Every request is self-sufficient. The server removes the request information once the request is settled. Preserving the state is the client task.
  • Resources are accessible by a URL. A URL is unique and belong exclusively to every resource.
  • With the HTTP protocol, four methods (POST, GET, PUT, and DELETE) makes it possible to perform the four fundamental operations on data (create, read, modify, and delete).
  • The HTTP status codes help match most use cases to specify an operation result (2xx for success, 4xx for failure, and so on).
  • Every resource can have one or more representations. Every representation corresponds to a particular format (Content-Type): XML, HTML, JSON, image, and so on.
  • Separating headers from data makes it possible to associate additional information with a request or a response: moderating the content and language, caching data, identifying the data type, and so on.