Skip to content

Latest commit

 

History

History
28 lines (16 loc) · 860 Bytes

File metadata and controls

28 lines (16 loc) · 860 Bytes

AZ-204 Demo: C# Azure Functions project

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.

Before delivery:

  1. Obtain storage account connection string and update file local.settings.json
  2. Open the project _ TranslateToPirate.sln _
  3. Open project and make sure it is successfully started. Function console appears without errors.

In class:

  1. Run the project.

  2. By using postman navigate to the local address: http://localhost:7071/api/TranslateToPiratish

  3. Provide following query in request body:

{"text":"My mother goes with me to the ocean!"}
  1. Response should looks like:

Processing file

Note the external API is limited by 5 calls in hour!