✏️ Explanatory Question

Differentiate between GET and POST requests in AJAX.

👁 96 Views
📘 Detailed Answer
🟢 Easy
96
Total Views
10
Related Qs
0%
Progress
💡

Answer with Explanation

Answer:

  • GET requests: These requests append data to the URL, usually in the form of query parameters. They are used for retrieving data from the server and have limitations on the amount of data that can be sent.
  • POST requests: These requests send data in the request body. They are suitable for sending larger amounts of data to the server and are commonly used for submitting forms or updating resources.