How to check the functioning of http function trigger

Nadia 0 Reputation points
2025-02-05T11:07:49.1733333+00:00

Hi,

I created http trigger function to query SQL data base.

But while testing I have some issues:

  1. The websiteimage

didnt work.

  1. The function is not visible under the list of function
  2. I access the fucntion or the integration for testing the trigger it says error loading
  3. Any idea please on how to solve the issue or what is the issue? Thanks
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,409 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Ranashekar Guda 95 Reputation points Microsoft Vendor
    2025-02-05T17:19:28.35+00:00

    Hi @Nadia,

    Welcome to the Microsoft Q&A Platform! Thank you for asking your question here.

    To verify the operation of your HTTP trigger function in Azure, you can follow these steps:

    • Go to the Azure portal and navigate to your function app.
    • In the Functions tab, verify that your HTTP trigger function is listed. If it isn't visible, you may need to recreate it or check whether it was created successfully.
    • Expand the Developer section in the left-hand menu and click on "Code + Test" and click on "Test/Run" to open the Test/Run dialog box.
    • Select "Run" to send an HTTP POST request to your function. Alternatively, you can test it using the GET method by including a name parameter in the query string.
    • If you experience an error while loading the function or during testing, review the logs for any trace information. You can access the logs by returning to the Code + Test page and expanding the Logs section.

    For your reference, please review the following documentation for further clarification:

    https://learn.microsoft.com/en-us/azure/azure-functions/functions-create-function-app-portal?pivots=programming-language-csharp#create-function

    I hope this helps! Let me know if you have any further questions or need additional assistance.

    1 person found this answer 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.