aspnetrun/run-aspnetcore-microservices

Resource identifier should be placed as a path parameter

wypiorsebastian opened this issue · 2 comments

I know it's not a course about RESTful principles but maybe you'll consider in the future extracting resource id from request body to path parameter ?

public async Task<IActionResult> UpdateProduct([FromBody] Product product)

yes you exactly right, this is good to fix in this issue. I will check it later thanks.

No problem. Glad I could help. BTW - great course :)