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

Allow -Method on Add-PodeRoute to support handling multiple methods #1070

Merged
merged 1 commit into from
Jan 19, 2023

Conversation

Badgerati
Copy link
Owner

Description of the Change

Add support for -Method on Add-PodeRoute to be able to handle multiple methods being supplied.

Related Issue

Resolves #996

Examples

Add-PodeRoute -Method Get, Post -Path '/route' -ScriptBlock {
    # logic
}

@Badgerati Badgerati added this to the 2.8.0 milestone Jan 19, 2023
@Badgerati Badgerati self-assigned this Jan 19, 2023
@Badgerati Badgerati merged commit 2dcd2f4 into develop Jan 19, 2023
@Badgerati Badgerati deleted the Issue-996 branch January 19, 2023 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Multiple Methods support on Routes
1 participant