Courseiva
easyMultiple ChoiceObjective-mapped

200-901 Practice Question: A developer wants to send a message to a specific…

A developer wants to send a message to a specific Webex Teams room using the REST API. Which HTTP method and endpoint should be used?

⚠ Common exam trap

Cisco often tests the misconception that resources must be nested in the URL path (e.g., /rooms/{roomId}/messages) when the API actually uses a flat endpoint with the identifier in the request body, leading candidates to choose Option A.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

POST /messages

The correct endpoint to send a message to a specific Webex Teams room is POST /messages, because the Webex REST API uses a single messages resource for creating new messages. The room ID is included in the request body as a JSON parameter, not in the URL path. This design follows RESTful conventions where POST is used to create a resource, and the /messages endpoint accepts the roomId field to target the desired space.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • POST /rooms/{roomId}/messages

    Why it's wrong here

    The correct endpoint is /messages, not /rooms/{roomId}/messages.

  • POST /messages

    Why this is correct

    POST to /messages with roomId in body sends a message.

  • PUT /messages

    Why it's wrong here

    PUT is for updating, not creating new messages.

  • GET /rooms/{roomId}/messages

    Why it's wrong here

    GET is for retrieving messages, not sending.

About these practice questions

This 200-901 question is part of Courseiva's 989-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This 200-901 practice question is part of Courseiva's free Cisco certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the 200-901 exam.