im struggling with this one, all the other json scripts that print multiple records have a for loop:
for computer in response_json['data']:
hostname = computer['hostname']
print(hostname)
how is it printing more than 1 line?
A
https://api-docs.amp.cisco.com/api_actions/details?api_action=GET+%2Fv1%2Fcomputers&api_host=api.amp.cisco.com&api_resource=Computer&api_version=v1
upvoted 4 times
...
This section is not available anymore. Please use the main Exam Page.350-701 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.
CyberGhost666
1 day, 15 hours agoiluvmicrosoft
8 months, 1 week agoffsilveira10
8 months, 1 week agoMarshpillowz
8 months, 3 weeks agootzu1
2 years, 8 months ago