Chapter 3: Web Applications · Term 1

Lesson 3-2 explained: Web Application Communication Methods

Client requests, server responds — over HTTP/HTTPS, with a method (GET/POST), a status code, and often an API returning JSON.

اقرأ الصفحة دي بالعربي

Lesson summary

A web application works when a client — a browser or app — sends a request and a server processes it and returns a response.

Takeaway: Client requests, server responds — over HTTP/HTTPS, with a method (GET/POST), a status code, and often an API returning JSON.

Key terms

  • Client
  • Server
  • HTTP
  • HTTPS
  • HTTP method
  • Status code
  • API
  • JSON

Textbook page: Arabic book 56 · English book 62

Free questions on this lesson

From the textbook question bank. Think of the answer first, then open it.

  1. 1. What is the client in web application communication?

    • A number that reports the result of processing a request
    • A data format that is easy for people to read
    • The side that requests data or processing from the server
    • The side that receives requests, processes them and replies
    Answer

    Correct answer: The side that requests data or processing from the server

    The client is the side that requests data or processing from the server.

    1. Client and Server · page 63

  2. 2. What is an HTTP method?

    • A number in the response that reports the processing result
    • The site address beginning with https://
    • A program that turns data into JSON
    • Information in a request saying what operation is wanted
    Answer

    Correct answer: Information in a request saying what operation is wanted

    A client's request includes an HTTP method that indicates what kind of operation is desired.

    3. HTTP Requests and Responses · page 64

  3. 3. What is JSON?

    • A request method used to submit form contents
    • A data format easy for people to read and computers to process
    • A protocol that encrypts data travelling between client and server
    • A status code meaning the server did not find the page
    Answer

    Correct answer: A data format easy for people to read and computers to process

    JSON is a data format that is both easy for humans to read and for computers to process.

    4. API (Application Programming Interface) · page 64

Keep studying on the platform

The full explanation of every lesson, interactive simulations, homework and an exam per chapter, and the whole question bank. Try it free, no code needed.

Lessons in this chapter 3: Web Applications

  1. 3-1 The Overall Structure of Web Applications
  2. 3-2 Web Application Communication Methods
  3. 3-3 Fundamentals of Frontend Technology