API Platform 3 Part 2: Security for your Treasures
New PUT Behavior
  Start your All-Access Pass to unlock this challenge
Buy Access Login

Challenge 1 / 1

Imagine this JSON payload is being sent to an endpoint... and that this resource also has a description field:

{
  "name": "Blue Diamond",
  "location": "Ocean Depths"
}

What's would happen to the description field if you send this payload using a PUT request (with the NEW behavior) versus a PATCH request?

Skip challenges and go to theNext Chapter

Turn Challenges Off?

All further challenges will be skipped automatically.
You can re-enable challenges at any time on this page or from your account page.