I have an action on my web project which calls to an API
[HttpPost]
public async Task ExpireSurvey(int id)
{
var token =
Based on the answers above, I got the following code working. Hope this helps someone! (thanks to others of course for getting me on the right track)
///
/// Post api/dostuff/{id}
[HttpPost]
[Route("dostuff/{id}")]
public async Task DoStuff([FromBody]Model model, int id)
{
// Both model and id are available for use!
}