QuestionQ74

VerifiedDevice-Level Network Automation

Question Image

Refer to the exhibit. An engineer is creating a Python script that uses RESTCONF to display hostname information. The code must be completed so it can be tested.

Which string completes the highlighted fields in the exhibit?

Explanation

RESTCONF represents YANG data in JSON with the media type application/yang-data+json. Thus, the header values are Content-Type: application/yang-data+json and Accept: application/yang-data+json.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!