Exam4Training

Which object should you use to call the API?

You have a custom API that is secured by using Azure Active Directory (Azure AD). You need to call the API from within a SharePoint Framework (SPFx) web part.

Which object should you use to call the API?
A . AadHttpClient
B. MSGraphClient
C. SPMttpCHent
D. XMLHttpRequest

Answer: B

Explanation:

By using the AadHttpClient, you can easily connect to APIs secured by using Azure AD without having to implement the OAuth flow yourself.

Reference: https://docs.microsoft.com/en-us/sharepoint/dev/spfx/use-aadhttpclient

Latest MS-600 Dumps Valid Version with 142 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Exit mobile version