We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aee9ec7 commit e2b6580Copy full SHA for e2b6580
1 file changed
src/Services/Basket/Basket.API/Controllers/BasketController.cs
@@ -18,7 +18,7 @@ public BasketController(IBasketRepository repository)
18
{
19
_repository = repository;
20
}
21
- // GET api/values/5
+ // GET /id
22
[HttpGet("{id}")]
23
public async Task<IActionResult> Get(string id)
24
@@ -27,7 +27,7 @@ public async Task<IActionResult> Get(string id)
27
return Ok(basket);
28
29
30
- // POST api/values
+ // POST /value
31
[HttpPost]
32
public async Task<IActionResult> Post([FromBody]CustomerBasket value)
33
@@ -36,7 +36,7 @@ public async Task<IActionResult> Post([FromBody]CustomerBasket value)
36
37
38
39
- // DELETE api/values/5
+ // DELETE /id
40
[HttpDelete("{id}")]
41
public void Delete(string id)
42
0 commit comments