Multiple choice technology web 2.0

While using POST request in AJAX what is the size limit of data that you can sent to the server?

  1. 4KB

  2. 64KB

  3. 256KB

  4. No size limit

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

POST requests in AJAX (and HTTP generally) do not have a protocol-defined size limit. Unlike GET requests, which are constrained by URL length limits, POST sends data in the request body, allowing much larger payloads. Practical limits exist only due to server configuration (like PHP's post_max_size or IIS limits), not the POST method itself.

AI explanation

Unlike GET requests, which are constrained by URL length limits imposed by browsers/servers, POST sends its payload in the HTTP request body, which has no inherent size cap defined by the HTTP protocol or AJAX itself. In practice a server or framework may impose its own configured limit, but that's a server-side policy, not a built-in ceiling of the POST mechanism.