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

Routing updates #122

Merged
merged 1 commit into from
Nov 24, 2024
Merged

Routing updates #122

merged 1 commit into from
Nov 24, 2024

Conversation

bobf
Copy link
Contributor

@bobf bobf commented Nov 24, 2024

Implement /foo/1/edit route/view.

Allow setting HTTP verb by passing e.g. /_PATCH as the last segment of a URL - this allows browsers to submit a POST request with a pseudo-HTTP verb encoded in the URL which Jetzig can translate, i.e. allowing forms to submit a PATCH.

Implement `/foo/1/edit` route/view.

Allow setting HTTP verb by passing e.g. `/_PATCH` as the last segment of
a URL - this allows browsers to submit a `POST` request with a
pseudo-HTTP verb encoded in the URL which Jetzig can translate, i.e.
allowing forms to submit a `PATCH`.
@bobf bobf merged commit 937efd9 into main Nov 24, 2024
3 checks passed
@bobf bobf deleted the pseudo-http-verbs-and-edit-action branch November 24, 2024 21:25
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.

1 participant