🔥 3-day streak
Cisco CCNP Automation AUTOCOR (350-901)108 / 136
Question 108 of 136

You are writing a Python script using the requests library to configure a new interface description on a Cisco IOS XE device via RESTCONF. You already retrieved the ietf-interfaces YANG model. Your PATCH request to /restconf/data/ietf-interfaces:interfaces/interface=GigabitEthernet2 keeps returning HTTP 400 with a 'malformed-message' error, even though your JSON keys match the leaf names. Which correction is most likely required to make the payload valid?

Reviewed for accuracy · Report an issueNext question