🔥 3-day streak
Cisco CCNP Cybersecurity CBRCOR (350-201)56 / 147
Question 56 of 147

A SOC analyst writes a Python script to consume a threat intelligence REST API. The script sends a GET request and receives a response with status code 200. When the script tries to call response.json() to parse the body, it raises a JSONDecodeError even though the request succeeded. Inspecting the raw response, the analyst sees the following header: Content-Type: application/xml. Which conclusion best explains the failure?

Reviewed for accuracy · Report an issueNext question