项目作者: nurj20

项目描述 :
Third party REST API manupulation through Axios HTTP Client
高级语言: JavaScript
项目地址: git://github.com/nurj20/ThirdParty-REST-API-Manipulation.git
创建时间: 2020-04-17T11:20:59Z
项目社区:https://github.com/nurj20/ThirdParty-REST-API-Manipulation

开源协议:

下载


ThirdParty-REST-API-Manipulation

Single page application (spa) based Third party REST API manupulation through Axios HTTP Client


Show how to access a REST API and integrate it within your applications. Following skills are demonstrated:


  • Get Users and their respective posts by exploiting their relationships defined between them.

  • Send multiple concurrent requests and handle their respective responses appropriately through Axios all and spread methods.

  • Add New data (post in this case) to the Third Pary API through Axios post method.

  • Each axios request removes all the div elements from the body element of HTML DOM object and appends new div elements with axios response making the application a single page application.