SOLUTIONS 2024
API - ANSWER Application Programming Interface
Server which is big computer-except larger and faster
makes website's data digestible for a computer
Another program running on the server-might be part of the same program that handles web traffic or
part of seperate one
API-integrated - ANSWER Has two sides
Client-knows what data is available through API and can manipulate it
Server-provides the API
protocol - ANSWER accepted set of rules that govern how two computers can speak to one another
HTTP - ANSWER Hyper Text Transfer Protocol
Request- Response cycle
(send request)
Client ---------------> Server
<--------------
(return response)
Valid Request (HTTP) - ANSWER 1. URL (Uniform Resource Locator)
- unique address for a thing (noun)
-client tells server which things they want to interact with
2. Method
- GET POST PUT DELETE
3. List of Headers
-Provide meta-information about request, simple list of items like time client sent request
4. Body
, -data client wants to send servers
Valid Responses (HTTP) - ANSWER Instead of method and URL responses have status codes
Data Format of APIs - ANSWER JSON-JavaScript Object Notation
XML-Extensible Markup Language
Open Authorization - ANSWER most widely used authentication scheme on the web
REST - ANSWER 1.)Offer access through resources
2.)Represent resources by representation
-addresses identify things not formats so all systems use the same address for the same thing
3.)Exchange self-descriptive messages
-REST clients and servers use standard operations defined by specification-HTTP
4.)Connect resource through links
-resources connect to each other through hyper links
HTTP client - ANSWER Software that sends request to a server and then receives data (resource) in
response. HTTP clients place requests to servers listening on ports.
HTTP server - ANSWER System that responds to client requests and returns resources. Recently, a
number of non-world-wide-web services have emerged that implement HTTP servers. (i.e. RESTful APIs,
Application Servers, databases like CouchDB.)
HTTP resource - ANSWER content returned by server in response to a request except for data which is in
the header
HTTP request - ANSWER message sent from a client to server
HTTP status code - ANSWER All responses from HTTP server including