MakingSense / WebApiCore-Seed

MIT License
2 stars 5 forks source link

User POST should return 201 #30

Closed Dongata closed 6 years ago

Dongata commented 6 years ago

something like this

POST /api/Users

Response

201 Created Headers :

Body

{
  "firstName": "string",
  "lastName": "string",
  "email": "string",
  "userName": "string",
  "id": "BD45F36C-EA17-40CE-ABC6-98C202EACDB1",
  "createdBy": "string",
  "updatedBy": "string",
  "createdOn": "2018-05-15T18:43:46.097Z",
  "updatedOn": "2018-05-15T18:43:46.097Z"
}
maxmus commented 6 years ago

HI, I can help you with this. I can change this method to return requested informations