how to call MVC controller method from postman

AK 1 Reputation point
2021-08-23T11:53:58.197+00:00

how to call MVC controller method from postman

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,284 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Yijing Sun-MSFT 7,071 Reputation points
    2021-08-24T09:58:40.26+00:00

    Hi @AK ,
    You can send requests in Postman to connect to APIs you are working with. When you send a request, Postman will display the response received from the API server in a way that lets you examine, visualize, and if necessary troubleshoot it.

    If you have a request you want to run, you will need to know the URL, method, and other optional values such as auth and parameters.
    If you are just trying out sending requests in Postman, you can set the URL to the Postman and the method to GET, then click Send to see what happens.

    Each request you send in Postman requires a URL representing the API endpoint you are working with. Each operation you can perform using an API is typically associated with an endpoint. Each endpoint in an API is available at a particular URL—this is what you enter into Postman to access the API.
    Just like this:
    125993-thumbnail-image001.png

    Best regards,
    Yijing Sun


    If the answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our  documentation  to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.
    0 comments No comments