exam questions

Exam 350-901 All Questions

View all questions & answers for the 350-901 exam

Exam 350-901 topic 1 question 27 discussion

Actual exam question from Cisco's 350-901
Question #: 27
Topic #: 1
[All 350-901 Questions]


Refer to the exhibit. Which action will complete the workflow that represents how an API call sends multiple messages?

  • A. {PUT} messages(roomID)
  • B. {PUT} messages(BearerToken)
  • C. {POST} messages(roomID)
  • D. {POST} messages(BearerToken)
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
arturogonzalezgzz
Highly Voted 2 years, 8 months ago
D is most correct because every time you send a request you need send the Token
upvoted 9 times
...
moslig
Highly Voted 2 years, 9 months ago
C is correct
upvoted 5 times
elloguvnor
2 years, 4 months ago
You pass the RoomID in the body!
upvoted 7 times
...
...
kumarraj2390
Most Recent 10 months ago
New messages to a room have to be sent using POST not PUT
upvoted 2 times
...
Teringzooi
1 year, 8 months ago
Selected Answer: D
D Need to sent token everytime.
upvoted 2 times
...
enough98
2 years ago
Selected Answer: D
POST is for creating a message. With PUT you can edit a message.
upvoted 3 times
...
__al__
2 years, 1 month ago
Selected Answer: D
When you "send" a message, effectivelly you are CREATING a new record in some tabel's database. So, from a REST API point of view, that would be a POST request. PUT requests are generally used to update something, not create. Yes, PUT can be used to CREATE if you already inform the server what should be the ID of that new record in the database, which obviously is not what happens here.
upvoted 1 times
...
RukiaTester
2 years, 3 months ago
This is D. ``` POST /v1/messages HTTP/1.1 Host: webexapis.com Authorization: Bearer NzU0ZjM1ZTctNDIxMi01ODgxLTgwYjEtZDhmOTE3NmUwZGEiNGM0YjI1YTAtMDg4_PF84_1eb75fdf-9643-417f-8874-ad72cae0e11e Content-Type: application/json { "roomId" : "Y2lzY29zcGFyazovL3VzL1JPT00vY2U5YmY0MjAtZThhZi0xMWViLWEwNmMtYmQ5MjE1MjE1MWIz", "text" : "Hello world! It's D." } ```
upvoted 4 times
udo2020
2 years, 3 months ago
Why POST? PUT will update?
upvoted 1 times
...
...
utrollilol
2 years, 5 months ago
Selected Answer: D
API docs indeed say POST to /messages URI. Answer is D.
upvoted 4 times
...
[Removed]
2 years, 5 months ago
D is the correct Answer https://developer.webex.com/docs/api/v1/messages/create-a-message
upvoted 2 times
...
duracell
2 years, 5 months ago
IMO it should be PUT not POST, so A or B
upvoted 3 times
rhmgh
2 years, 3 months ago
I agree. Next step is "Update Rooms"
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 ...