QuestionQ25
Understanding and Using APIs
Refer to the exhibit. Complete the missing code to create a new room in Webex Teams. Not all options are used.
Drag & Drop
headers
request
PUT
title
POST
data
import requests def createRoom(roomName): url = “https://webexapis.com/v1/rooms” payload = {“”: roomName} = { “Content-Type”: “application/x-www-form-urlencoded”, “Authorization”: TOKEN } requests.(“”, url, data=payload, headers=headers)
Community Discussion