---
title: "Discussion on \"Restful in .net core\" | Hashnode"
description: "Discussion on \"Restful in .net core\". To return success with no content use\nreturn NoContent();\nPOST is used to create a resource so if the POST has a ID like\nPOST  authors/myid\nIf the id exists it should return Conflict\nreturn new StatusCodeResult(StatusCodes.Status409Conflict)\nTo creat..."
url: "https://hashnode.com/posts/restful-in-net-core/6036b4e005efef7f0a9d3fe6"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Restful in .net core](https://cwizsoftware.com/restful-in-net-core?utm_source=hashnode&utm_medium=feed)

To return success with no content use return NoContent(); POST is used to create a resource so if the POST has a ID like POST authors/myid If the id exists it should return Conflict return new StatusCodeResult(StatusCodes.Status409Conflict) To creat...

Feb 24, 2021 · 1 min read · cwizsoftware.com  
Read the article

-   [#dotnetcore](https://hashnode.com/tag/dotnetcore)

## Written by

[Xavier](https://hashnode.com/@xavier2021)

@xavier2021

  
[View profile](https://hashnode.com/@xavier2021)

C#

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
