exam questions

Exam 300-835 All Questions

View all questions & answers for the 300-835 exam

Exam 300-835 topic 1 question 28 discussion

Actual exam question from Cisco's 300-835
Question #: 28
Topic #: 1
[All 300-835 Questions]

DRAG DROP -
Drag and drop the correct items from the right to complete this Python script to automate the creation of Cisco Webex Teams spaces and memberships. Not all options are used.
Select and Place:

Show Suggested Answer Hide Answer
Suggested Answer:

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
theflatirons
10 months ago
json instead of data. Very similar to a DevNet sample script.. The post() method has an argument that is named json which takes a Python object, converts it to JSON format and uses it for the request body: response = requests.post( url = apiUrl, json = body, headers = httpHeaders )
upvoted 1 times
...
Nicetomeetyou
3 years, 3 months ago
the correct answer isn't here, if you try response = requests.post(url = url, headers = headers, data = body) the answer will be 400 bad Request response = requests.post(url = url, headers = headers, json = body) works but the id can't be extracted with the provided answers. to exctract the id you could use: response1.json()['id']
upvoted 1 times
...
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.

SaveCancel
Loading ...