A Webex Teams bot receives a Webhook payload, which notifies the bot that a message was created in a space. Which two API requests must be issued for the bot to answer the author of the message? (Choose two.)
Heavily debated but after researching, I'm going with this...
https://developer.webex.com/docs/webhooks
A. POST /webhooks
"-To begin receiving platform events, you first need to register a webhook with Webex. To create a webhook, make an HTTP POST to /webhooks"
and B. POST /messages
"-When one of your webhooks is triggered by an event, Webex will send an HTTP POST to the backend targetUrl that you've specified. The body of the POST will look something like this:
{
"id": "Y2lzY29zcGFyazovL3VzL1dFQkhPT0svZjRlNjA1NjAtNjYwMi00ZmIwLWEyNWEtOTQ5ODgxNjA5NDk3",
"name": "New message in 'Project Unicorn' room",
"resource": "messages",..."
To me it seems like A and B is the correct answers.
First it will need to get the message content using the /message/{messageId} from the object of the webhook response, parse it and then post a proper reply with /message.
This section is not available anymore. Please use the main Exam Page.300-835 Exam Questions
Log in to ExamTopics
Sign in:
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.
R0ck3tman
Highly Voted 3 years, 7 months agoiamnoone
2 years, 7 months agotheflatirons
Most Recent 10 months agoalexgrt
1 year, 9 months agofixpro
2 years, 2 months agoiamnoone
2 years, 7 months agoub3rpownage3
3 years ago