Complete the code to specify the HTTP method for a partial update.
response = requests.[1](url, json=data)The PATCH method is used to partially update a resource in REST APIs.
Complete the code to send only the 'email' field in the PATCH request.
data = [1]PATCH requests send a JSON object with only the fields to update.
Fix the error in the PATCH request code by completing the missing header.
headers = {'Content-Type': [1]
response = requests.patch(url, json=data, headers=headers)The Content-Type header must be 'application/json' to indicate JSON data is sent.
Fill both blanks to create a PATCH request that updates the 'name' field only.
data = [1] response = requests.[2](url, json=data)
Use a dictionary with the 'name' field and the PATCH method for partial update.
Fill all three blanks to send a PATCH request updating 'phone' and setting the correct header.
data = [1] headers = {'Content-Type': [2] response = requests.[3](url, json=data, headers=headers)
Send a dictionary with the 'phone' field, set Content-Type to 'application/json', and use PATCH method.