Question 116 MCQ · 3.0 marks
**Java**
**Section Id :** 64065369407
**Section Number :** 8
**Section type :** Online
**Mandatory or Optional :** Mandatory
**Number of Questions :** 16
**Number of Questions to be attempted :** 16
**Section Marks :** 100
**Display Number Panel :** Yes
**Section Negative Marks :** 0
**Group All Questions :** No
**Enable Mark as Answered Mark for Review and**
No
**Clear Response :**
**Section Maximum Duration :** 0
**Section Minimum Duration :** 0
**Section Time In :** Minutes
**Maximum Instruction Time :** 0
Published solution
**Answer: D**
**Topic:** Web Fundamentals — *URL Format for an HTML Form Submitted via HTTP POST*
### Step-by-Step Solution
**Step 1:** In HTML forms, when `method="GET"` is used, form data is appended to the URL as a query string (`?name=Application`).
**Step 2:** However, when **`method="POST"`** is set, the form data is sent inside the **HTTP request body**, NOT in the URL query string.
**Step 3:** Therefore, the URL in the browser remains simply **`http://127.0.0.1:5000/`**, which matches **D**.
**Key Takeaway / Tip:** `POST` requests place form inputs in the request body rather than appending `?key=value` to the URL.
A: **Incorrect:** Option A (
Source diagram or notation unavailable. Please report this question for correction.) does not satisfy the conditions derived in the step-by-step analysis for URL Format for an HTML Form Submitted via HTTP POST (correct choice: D).
B: **Incorrect:** Option B (
Source diagram or notation unavailable. Please report this question for correction.) does not satisfy the conditions derived in the step-by-step analysis for URL Format for an HTML Form Submitted via HTTP POST (correct choice: D).
C: **Incorrect:** Option C (
Source diagram or notation unavailable. Please report this question for correction.) does not satisfy the conditions derived in the step-by-step analysis for URL Format for an HTML Form Submitted via HTTP POST (correct choice: D).
D: **Correct:** Option D (
Source diagram or notation unavailable. Please report this question for correction. **Java** **Section Id :** 64065369407 **Section Number :** 8 **Section type :** Online **Mandatory or Optional :** Mandatory **Number of...) matches our derived result under URL Format for an HTML Form Submitted via HTTP POST. `POST` requests place form inputs in the request body rather than appending `?key=value` to the URL.