Issue when running a command

Fernando Aguilar 290 Reputation points Student Ambassador
2024-03-13T22:28:44.1066667+00:00

Hello again!

I followed your suggestion and solved my issue, but now I am facing another issue within the same learning path: https://learn.microsoft.com/en-us/training/modules/secure-ai-services/4-exercise-secure-ai-services I mentioned in this question: https://learn.microsoft.com/en-us/answers/questions/1613074/issue-when-getting-the-information-about-the-list?page=1#answer-1473755

The issue is the following: when I follow this instruction:

To test your Azure AI service, you can use curl - a command line tool for HTTP requests. In the 02-ai-services-security folder, open rest-test.cmd and edit the curl command it contains (shown below), replacing <yourEndpoint> and <yourKey> with your endpoint URI and Key1 key to use the Analyze Text API in your Azure AI services resource.

I do it correctly but I do not get the supposed result. I am allocating my endpoint and my key but I get the following message: User's image

User's image

User's image

Thank you,

Fernando

Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
3,602 questions
{count} votes

Accepted answer
  1. navba-MSFT 27,540 Reputation points Microsoft Employee Moderator
    2024-03-17T05:17:46.2733333+00:00

    @Carlos Fernando Aguilar González Thanks for getting back. Looking at your above screenshot, it seems like within the rest-test.sh file you haven't updated your endpoint and subscription key details.

    Please open and edit the rest-test.sh and edit it to update the right endpoint and subscription key ( similar to what you did within rest-test.cmd file for the curl command). Then it should work fine. See below:

    User's image

    Hope this helps.

    **

    Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    2 people found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.