You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/web-application-firewall/afds/protect-azure-open-ai.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ First, create an OpenAI instance.
35
35
36
36
:::image type="content" source="../media/protect-azure-open-ai/sample-code.png" alt-text="Screenshot showing Azure OpenAI sample code with Endpoint and Key.":::
37
37
38
-
1. Validate Azure OpenAI call using your favorite API test method, such as [Visual Studio](https://learn.microsoft.com/en-us/aspnet/core/test/http-files?view=aspnetcore-8.0) or [Insomnia](https://insomnia.rest/).
38
+
1. Validate Azure OpenAI call using your favorite API test method, such as [Visual Studio](/aspnet/core/test/http-files) or [Insomnia](https://insomnia.rest/).
39
39
Use the Azure OpenAPI endpoint and api-key values found in the earlier steps.
40
40
Use these lines of code in the POST body:
41
41
@@ -82,7 +82,7 @@ Now verify your Azure Front Door endpoint.
82
82
1. Retrieve the Azure Front Door endpoint from the Front Door Manager.
83
83
84
84
:::image type="content" source="../media/protect-azure-open-ai/front-door-endpoint.png" alt-text="Screenshot showing the Azure Front Door endpoint." lightbox="../media/protect-azure-open-ai/front-door-endpoint.png":::
85
-
2. Use your favorite API test method, such as [Visual Studio](https://learn.microsoft.com/en-us/aspnet/core/test/http-files?view=aspnetcore-8.0) or [Insomnia](https://insomnia.rest/) to send a POST request to the Azure Front Door endpoint.
85
+
2. Use your favorite API test method, such as [Visual Studio](/aspnet/core/test/http-files) or [Insomnia](https://insomnia.rest/) to send a POST request to the Azure Front Door endpoint.
86
86
1. Replace the Azure OpenAI endpoint with the AFD endpoint in the POST request.
87
87
:::image type="content" source="../media/protect-azure-open-ai/test-final.png" alt-text="Screenshot showing the final POST." lightbox="../media/protect-azure-open-ai/test-final.png":::
0 commit comments