Courseiva

200-901 Cisco Platforms and Development Practice Question

A developer wants to send a message to a Webex room using the API. Which HTTP method and endpoint should they use?

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 /v1/messages

To send a message, use POST to /v1/messages with roomId or toPersonEmail.

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 /v1/rooms

    Why it's wrong here

    POST /v1/rooms creates a new room, not a message within an existing one. It is tempting because POST is the correct verb for creation, but the resource collection is wrong: messages are posted to /v1/messages with the roomId in the body.

  • ✗

    PUT /v1/messages

    Why it's wrong here

    PUT /v1/messages is not a valid Webex endpoint; messages are created with POST /v1/messages. It is tempting because PUT also writes data, but Webex does not expose message creation via PUT, and PUT semantics imply replacing an existing resource at a known URI.

  • ✗

    GET /v1/messages

    Why it's wrong here

    GET /v1/messages retrieves message details and cannot create one; sending requires POST to /v1/messages. It is tempting because the endpoint path matches the resource, but the HTTP verb governs the operation, and GET is idempotent retrieval rather than creation.

  • ✓

    POST /v1/messages

    Why this is correct

    Sending a message creates a new resource in the Webex messaging collection, so the POST method targets /v1/messages with the roomId and text in the JSON body. GET retrieves existing messages, and PUT or DELETE would modify or remove them, not send.

About these practice questions

This 200-901 question is part of Courseiva's 975-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.