How to use APIs with jQuery
The Client/Server Relationship

We can use HTTP to grab just about any web page on the Internet. But where do those web pages come from? They come from other computers on the Internet called servers.

The Internet is full of clients (like you!) who ask for various resources (web pages, files, and so on), and servers, who store that information (or know where to get it). When you make an HTTP request, it zips through the Internet until it finds the server that knows how to fulfill that request. Then the server sends a response back to you!


Check out our fancy diagram in the editor. This is how clients and servers interact on the Internet! One server can handle many requests from several clients at once. (Click Save & Submit Code to continue.)

View Preview