Courseiva

200-901 Cisco Platforms and Development Practice Question

A developer needs 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 the room ID and message body.

Answer analysis

Option-by-option breakdown

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

  • ✗

    GET /v1/messages

    Why it's wrong here

    GET retrieves message history from a room; it cannot create one, so no message is sent. It is tempting because GET /v1/messages is the correct endpoint for listing or reading existing messages, which is the right choice when a developer needs to fetch room content rather than post it.

  • ✗

    PUT /v1/messages

    Why it's wrong here

    PUT replaces an existing resource at a known URI; Webex message creation uses POST to /v1/messages, so PUT sends nothing. It is tempting because PUT /v1/messages targets the same collection, and would suit updating a message if the API supported full replacement semantics there.

  • ✗

    DELETE /v1/messages

    Why it's wrong here

    DELETE removes an existing message by ID; it cannot create one, so nothing is sent to the room. It is tempting because DELETE /v1/messages operates on the same messages resource, and would be correct when a developer needs to retract or remove a previously posted message.

  • ✓

    POST /v1/messages

    Why this is correct

    Creating a message is a resource-creating operation, so the Webex messaging API expects POST against the /v1/messages collection endpoint, with the roomId and text in the JSON body. GET on that path would only list messages.

About these practice questions

Courseiva writes every 200-901 question from scratch — 975 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or 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.