-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Added Created HTTP response code for Role and User post methods #381
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added Created HTTP response code for Role and User post methods #381
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've read the PR - looks ok, I'll run it and check how it works - it would be nice if it would have some tests as well, but we also can address that after merging and set up requirement for newer PRs to have some tests attached
I will add new project for tests regarding to API #383 |
Would you merge this since you are ok with it? Also, is there a "chat room" with two of you where we can discuss further developments and goals? Maybe I can help. Thank you |
I will test it, it would be nice implement same logic into all methods for creation of some entity. What do you think? |
@b0, would it be possible for you to apply same logic into all methods for creation of some entity ? |
…hub.com/b0/IdentityServer4.Admin into feature/return-created201-http-response
@skoruba, @xmichaelx I have added 201 response with Location header for all controllers post methods where applicable. |
@b0 - great work! I will test it. 👍🏼😊 |
When creating Role or User api will return Location header with uri for new entity and json dto with id for created entity...