🔥 3-day streak
Cisco CCNP Enterprise ENCOR (350-401)65 / 115
Question 65 of 115
A network automation engineer is writing a Python script to create a new network device entry in Cisco Catalyst Center using the Intent API. The API requires a POST request with a JSON body and an authentication token passed in the request header. The engineer has already obtained the token and stored it in the variable 'token'. Which line correctly sends the POST request so that the payload is serialized to JSON and the token is included in the required header?
Reviewed for accuracy · Report an issueNext question