In this video, get languages running, this time authenticated via an access token mechanism.
- Now at this point you should have two implementations…of get languages for translate.…One that authenticates by passing in your subscription key…in the header.…Like so.…Line number 54.…And the other where we first get an access token…in a promise based mechanism, so it's asynchronous.…Once you have the access token,…so let's set a break point on line number 19.…Then I should be able to call the very same endpoint…with a different header for authentication.…
Let's go ahead and set a breakpoint…in our log output method as well,…and let's go ahead and comment out the call…to get languages for translate,…and add a call to get languages for translate…with access token.…Okay.…So the breakpoint is set in both places,…let's go ahead and run this code.…So again if we've done everything correctly,…at this point I should have an access token here…that looks like an access token.…
You can decrypt it.…A popular way of decrypting it…is going to JWT.io, and just pasting it in a text box.…You can try that out on your own,…but this is a valid access token,…
- Using the Translate Text API
- Getting supported languages
- Writing code to translate between languages
- Performing text to speech
- Setting up speech to text
- Writing code for speaker identification
Skill Level Intermediate
Microsoft Cognitive Services for Developers: 1 Visionwith Sahil Malik2h 35m Intermediate
Learning Microsoft Cognitive Services for Developerswith Sahil Malik1h 42m Intermediate
Creating Bots with the Microsoft Bot Framework, Part 1with Scott Peterson45m 41s Intermediate
1. The Basics
2. Translation Text API
3. Bing Speech API
4. Speaker Recognition API
Next steps1m 9s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.