Skip to content
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

Ability to customise status codes in responses #390

Closed
Fraham opened this issue Oct 7, 2019 · 0 comments · Fixed by #394
Closed

Ability to customise status codes in responses #390

Fraham opened this issue Oct 7, 2019 · 0 comments · Fixed by #394
Assignees
Milestone

Comments

@Fraham
Copy link
Contributor

Fraham commented Oct 7, 2019

Describe the Change

Ability to customise status codes in responses

Additional Context

For example: Having an additional parameter to Write-PodeJsonResponse to allow for a specified status code to be returned. This can be used to return alternative codes instead of 200, this would make Pode a bit closer to a full REST solution.

@Badgerati Badgerati added this to the 1.2.0 milestone Oct 9, 2019
@Badgerati Badgerati self-assigned this Oct 9, 2019
Badgerati added a commit that referenced this issue Oct 11, 2019
#390: Adds support for setting StatusCode on Write-Response functions
@Badgerati Badgerati mentioned this issue Nov 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants