Question
Option 3 : GET, PUT and DELETE are idempotent, while POST is not. / GET, PUT और DELETE आइडेम्पोटेंट हैं, जबकि POST नहीं है।
Detailed Solution
सही उत्तर GET, PUT and DELETE are idempotent, while POST is not. / GET, PUT और DELETE आइडेम्पोटेंट हैं, जबकि POST नहीं है। है।
Question:
A teacher asks students to analyse the following HTTP method data and choose the correct statement. / एक शिक्षक विद्यार्थियों से निम्नलिखित HTTP मेथड डेटा का विश्लेषण करके सही कथन चुनने को कहता है।
Method data :
GET : Retrieves a resource without changing server state : Yes POST : Submits data to create or process a resource : No PUT : Replaces the entire target resource : Yes DELETE : Removes the identified resource : Yes
Correct Answer: GET, PUT and DELETE are idempotent, while POST is not. / GET, PUT और DELETE आइडेम्पोटेंट हैं, जबकि POST नहीं है।
Repeating GET, PUT or DELETE with the same request leaves the same server state, so they are idempotent; repeated POSTs can create multiple resources. / समान अनुरोध से GET, PUT या DELETE दोहराने पर सर्वर स्थिति समान रहती है, अतः वे आइडेम्पोटेंट हैं; दोहराए गए POST से कई संसाधन बन सकते हैं।