run-aspnetcore-microservices icon indicating copy to clipboard operation
run-aspnetcore-microservices copied to clipboard

Resource identifier should be placed as a path parameter

Open wypiorsebastian opened this issue 4 years ago • 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 ?

https://github.com/aspnetrun/run-aspnetcore-microservices/blob/c30712aa099bc335f5613a3b196ea1e943f800a5/src/Services/Catalog/Catalog.API/Controllers/CatalogController.cs#L85

wypiorsebastian avatar May 18 '21 11:05 wypiorsebastian

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

mehmetozkaya avatar May 20 '21 09:05 mehmetozkaya

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

wypiorsebastian avatar May 20 '21 09:05 wypiorsebastian