Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
figured out how to execute exactly the method / function in the controller.
in fetch we write the path to the controller-method: https://localhost:5051/api/ method
in the controller we write the path
[Route("api/[controller]")]
and above the method / function
[HttpGet/Post("name method")]
after that we start the project and access
https://localhost:5051/api/get - how to access it in a browser or via postman
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question