VLAnNames is already a variable with value from the returned API calls so and print function showed it so to have access to it just list(VlanNames) will show it
As stated by Vlad already it is A. I got it labbed with Cisco's sandbox.
url1 = "https://sandboxdnac.cisco.com/dna/intent/api/v1/topology/vlan/vlan-names"
VlanNames = requests.get(url=url1, headers=headers, verify=False).json()
print("\n\n",VlanNames['response'])
['Vlan1', 'Vlan101']
Process finished with exit code 0
upvoted 2 times
...
This section is not available anymore. Please use the main Exam Page.350-401 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Vlad_Is_Love_ua
Highly Voted 2 years, 2 months agoSteve122
10 months, 2 weeks agoCOLONEL_MAJOR
Highly Voted 1 year, 3 months agoMegon
Most Recent 10 months, 1 week ago[Removed]
11 months, 3 weeks ago[Removed]
11 months, 1 week agomsstanick
1 year, 11 months ago