300-615 · Question #245
Refer to the exhibit. An engineer uses a REST API to map the interface selector with ports 1/1 to 1/20 to an interface profile. The script fails with a 400 response status code. Which action…
The correct answer is D. Post the script using the HTTPS method. requires HTTPS for security purposes. Many APIs enforce HTTPS to ensure encrypted communication, and sending the request over HTTP can result in a 400 Bad Request error. Changing the request to use HTTPS (https://10.1.1.51/api/mo/uni.xml) should resolve the issue if encryption…
Question
Refer to the exhibit. An engineer uses a REST API to map the interface selector with ports 1/1 to 1/20 to an interface profile. The script fails with a 400 response status code. Which action resolves the problem?
Exhibits
Options
- ARun the script again with valid authentication values.
- BPermit user access to the requested resource
- CAdd a content-length header to the request.
- DPost the script using the HTTPS method.
How the community answered
(39 responses)- A5% (2)
- B10% (4)
- C5% (2)
- D79% (31)
Explanation
requires HTTPS for security purposes. Many APIs enforce HTTPS to ensure encrypted communication, and sending the request over HTTP can result in a 400 Bad Request error. Changing the request to use HTTPS (https://10.1.1.51/api/mo/uni.xml) should resolve the issue if encryption is required by the API server.
Topics
Community Discussion
No community discussion yet for this question.

