I need to convert the request from get to post in two contexts: - in the case of the standard controller - in the case of web api in an asp.net core c # project.
Here are the method declarations. Standard controller:
public async Task<IActionResult> Details(string id)
Web Api Controller:
[HttpGet("{deviceIdorId}/{action2}")]
public async Task<IEnumerable<CosmosDBTelemetry>> GetAsync(string deviceIdorId,string action2)
What should I do?
Thanks,
Simone