Refer to the exhibit. On line 4, the script retrieves a context from a DOM element that was generated from a server-side component. How does that server-side component obtain the value for the ‘context’ element?
by opening a dialog asking the end-user to paste his personal access token
by completing an authorization code grant flow using the identifier and secret of an OAuth integration
by embedding the access token of a Bot account
by creating a guest token using the identifier and secret of a Guest Issuer application
Correct answer: B
Question 2
Refer to the exhibit. What causes the error message?
xapi must be enabled for promises.
HttpClient AllowInsecureHTTPS has not been enabled.
The NODE_TLS_REJECT_UNAUTHORIZED environment variable must be set to 0.