🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: HTTP, HTTPS and DNS: all 10 questions

Quiz: HTTP, HTTPS and DNS · Question 7 of 10

A student wants to change only the phone number in a profile, leaving the rest as it is. Which method fits best?

A student wants to change only the phone number in a profile, leaving the rest as it is. Which method fits best?

  1. A.GET
  2. B.PUT
  3. C.PATCH
  4. D.DELETE
Answer & explanation

Correct answer: PATCH

PATCH changes part of a resource; PUT replaces the whole resource.

Can you get the rest right without peeking?

Take the timed Quiz: HTTP, HTTPS and DNS quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →