In the demo you will start Azure Function locally and will reach out the external API with text provided in request. Text will be translated to the Piratish language.
- VS 2019/22 with Azure SDK support.
- Postman to test Web API
-
Open and start execution of project _ TranslateToPirate.sln _
-
By using postman navigate to the local address: http://localhost:7071/api/TranslateToPiratish
-
Provide following query in request body:
{"text":"My mother goes with me to the ocean!"}
- Response should looks like:
Note the external API is limited by 5 calls in hour!