I am wondering what is the difference between CreatedAtAction
and RedirectToAction
in ASP.NET Web API ?
When to return CreatedAtAction
, and when to return RedirectToAction
?
I got the same response in Swagger when I used both of them
Key Differences
Status Code:
Purpose:
Response: