nerdexam
Cisco

350-401 · Question #482

An engineer runs the code against an API of Cisco DNA Center, and the platform returns this output. What does the response indicate?

The correct answer is D. The HTTP method is incorrect. The API response indicates that the HTTP method used in the request, such as GET, POST, or PUT, is not supported by the specific Cisco DNA Center API endpoint that was accessed.

Submitted by yasin.bd· Mar 6, 2026Automation

Question

An engineer runs the code against an API of Cisco DNA Center, and the platform returns this output. What does the response indicate?

Exhibits

350-401 question #482 exhibit 1
350-401 question #482 exhibit 2

Options

  • AThe authentication credentials are incorrect
  • BThe URL string is incorrect.
  • CThe Cisco DNA Center API port is incorrect
  • DThe HTTP method is incorrect

How the community answered

(39 responses)
  • A
    10% (4)
  • B
    21% (8)
  • C
    3% (1)
  • D
    67% (26)

Why each option

The API response indicates that the HTTP method used in the request, such as GET, POST, or PUT, is not supported by the specific Cisco DNA Center API endpoint that was accessed.

AThe authentication credentials are incorrect

Incorrect authentication credentials would typically result in an HTTP 401 Unauthorized or 403 Forbidden status code, indicating a permissions issue rather than an improper method.

BThe URL string is incorrect.

An incorrect URL string usually leads to an HTTP 404 Not Found error, as the server cannot locate the specified resource path.

CThe Cisco DNA Center API port is incorrect

An incorrect API port would likely cause a connection failure or timeout before the API server could even process the HTTP request and return an HTTP status code.

DThe HTTP method is incorrectCorrect

An incorrect HTTP method error (typically indicated by an HTTP 405 Method Not Allowed status code) means the client attempted an operation (e.g., a POST request) on an API endpoint that only supports a different method (e.g., GET requests), or vice-versa, making the request invalid for that specific resource.

Concept tested: Cisco DNA Center API error handling (HTTP methods)

Source: https://developer.cisco.com/docs/dna-center/#!rest-api-basics

Topics

#REST API#HTTP methods#DNA Center#API troubleshooting

Community Discussion

No community discussion yet for this question.

Full 350-401 Practice