List of questions
Related questions
Question 450 - 200-901 discussion
A resource named /item is protected by oAuth2 authentication. An endpoint named /login must request authentication. Which method must be used to access the resource by using the REST API?
Make a GET call to /login that includes the username and password, and retrieve a token to insert into the /item call.
Make a POST call to /login including the user credentials in the message, and retrieve a token to insert into the authorization header of the /item call.
Make a GET call to /item, then make a call to /login that includes the username and password in the body of the message, and wait for the authorization code.
Make a POST call to /item that includes the username and password in the body of the request message, and submit it to request access.
0 comments
Leave a comment first