APIs

 APIs 

 

Http status codes 

  • 200 – OK 

  • 201 – Created 

  • 304 – Not modified 

  • 306 – Switch proxy 

  • 400 – Bad request 

  • 404 – Not found 

  • 500 – Internal server error 

  • 502 – Bad gateway 

 

Questions 

Outline one advantage of APIs – APIs will increase interoperability between applications making it easier for them to connect and talk to each other. 

What do APIs use to send and receive data – APIs use http requests to web servers to send and receive data. 

Identify 3 ways an API can be accessed – An API can be accessed through HTTP requests, SDKs and WebSocket Connections. HTTP requests send web server requests to the web server where the API is hosted to send and receive data. An SDK is a collection of tools and libraries usually containing appropriate APIs. A WebSocket connection is a protocol used for real time communication with an API. 

 

API Certifications 

An API certification is a course where a computer scientist learns to use and manipulate APIs. API certified workers are in exceedingly high demand at the moment due to their rarity. 

Comments

Popular posts from this blog

OSA Assignment 1 - Task 3 GUIDE

OSA Assignment 1 - Task 1 GUIDE

OSA Summer 2023 Mock - Task 1, Assignment 1