A city automation script PATCHes an IOS XE interface over RESTCONF. Which Accept/Content-Type media type matches the official YANG-data exchange?
Select an answer to reveal the explanation.
Short Explanation
RESTCONF speaks YANG-data dialects—like ordering coffee in the shop’s official menu language—not generic JSON slang, raw CLI paste, or Webex upload wrappers.
Full Explanation
Official IOS XE RESTCONF uses application/yang-data+json or application/yang-data+xml on Accept and Content-Type. Plain application/json with an ad-hoc body is not a correct 5.2 call. text/plain CLI blobs and Webex multipart uploads belong to other interfaces and fail RESTCONF media-type expectations.