Cisco
300-615 · Question #116
When the engineer runs the command, this error is received: opsengineer@wkst1:/home/auto/bash_scripts$ curl -s -b cookie_file_39422186.txt -X GET -k 192.15.132.101/api/node/class/Tenant.json…
The correct answer is B. Modify the URI to 192.15.132.101/api/node/class/fvTenant.json. See the full explanation below for the reasoning.
Question
When the engineer runs the command, this error is received:
opsengineer@wkst1:/home/auto/bash_scripts$ curl -s -b cookie_file_39422186.txt -X GET -k 192.15.132.101/api/node/class/Tenant.json {"totalCount":"1","imdata":[{"error":{"attributes":{"code":"400","text":"Request failed, (output omitted)"}}}]} Which action resolves the issue?
Options
- ARegenerate the API token object
- BModify the URI to 192.15.132.101/api/node/class/fvTenant.json
- CAdd the -c class Tenant flag to the cURL command
- DChange the HTTP verb to POST
How the community answered
(29 responses)- A3% (1)
- B72% (21)
- C10% (3)
- D14% (4)
Community Discussion
No community discussion yet for this question.