Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 2 out of 5 pages
Exam (elaborations)

APIs QUESTIONS AND ANSWERS WITH SOLUTIONS 2024

Document preview thumbnail
Preview 2 out of 5 pages

APIs QUESTIONS AND ANSWERS WITH SOLUTIONS 2024

Content preview

APIs QUESTIONS AND ANSWERS WITH
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

Document information

Uploaded on
August 17, 2024
Number of pages
5
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$15.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Performance
4.3
(239)
Sold
558
Followers
45
Items
19655
Last sold
1 day ago




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions