官术网_书友最值得收藏!

RESTful API

This is the most common type of API that most social media provides. The information from a REST API is static and is from historical data. The back history of data can vary from platform to platform. Facebook calls its REST API service Graph API.

Facebook, Twitter, and Pinterest among others have given access to their APIs to the public through robust data infrastructures. Another real-time version of the RESTful API of Twitter is the Streaming API. The two are inherently similar, but with different usages. We will explore the standard RESTful APIs of the most common platforms and also the Streaming API of Twitter.

REST stands for Representational State Transfer and it relies on the HTTP protocol for data transfer between machines. It has been created to simplify the transfer of data between machines unlike previous web services such as CORBA, RPC, and SOAP. Since the architecture of REST uses the HTTP protocol, it would be fair to assume that the WWW itself is based on RESTful design. Two of the most important uses of RESTful services are:

  • Get: Procedure to receive data from a distant machine
  • Post: Procedure to write data to a distant machine

Almost all the functionalities of a REST API can be used through the preceding two methods.

主站蜘蛛池模板: 新乡市| 扶风县| 株洲县| 三明市| 南涧| 梁河县| 宁化县| 防城港市| 开化县| 尼木县| 霸州市| 阳西县| 平潭县| 彭泽县| 鄂托克前旗| 建昌县| 青川县| 金堂县| 星子县| 类乌齐县| 商城县| 南和县| 醴陵市| 县级市| 五台县| 宜章县| 甘德县| 诏安县| 芦溪县| 海丰县| 西乡县| 鞍山市| 九江市| 浦北县| 江安县| 镇安县| 司法| 营口市| 安徽省| 德化县| 宜丰县|