100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
APIs QUESTIONS AND ANSWERS WITH SOLUTIONS 2024 $14.99   Add to cart

Exam (elaborations)

APIs QUESTIONS AND ANSWERS WITH SOLUTIONS 2024

 5 views  0 purchase
  • Course
  • Api
  • Institution
  • Api

APIs QUESTIONS AND ANSWERS WITH SOLUTIONS 2024

Preview 2 out of 5  pages

  • August 17, 2024
  • 5
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • Api
  • Api
avatar-seller
Performance
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

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller Performance. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $14.99. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

81113 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$14.99
  • (0)
  Add to cart