Question:

Which of the following method sends the data as a block through the HTTP transaction?

Show Hint

Use GET when retrieving small amounts of data and POST when sending larger or sensitive data through forms.
  • GET
  • SET
  • PUT
  • POST
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is D

Solution and Explanation

Step 1: Understand HTTP request methods.
When data is sent from a client (browser) to a server through a web form, HTTP request methods are used. The most commonly used methods are GET and POST.
Step 2: Explain the GET method.
The GET method sends data through the URL as query parameters. This means the data becomes visible in the address bar of the browser. Because of this limitation, GET is not suitable for sending large or sensitive data.
Step 3: Explain the POST method.
The POST method sends data inside the body of the HTTP request instead of the URL. In this case, the data is transmitted as a block during the HTTP transaction. This method is preferred when sending large amounts of data or sensitive information.
Step 4: Conclusion.
Since the question asks which method sends data as a block through the HTTP transaction, the correct answer is the POST method.
Was this answer helpful?
0
0