Make partials support any http method :3

This commit is contained in:
2026-11-11 16:27:12 -03:00
parent 0e6aa1d232
commit 8400c019e0
4 changed files with 289 additions and 8 deletions
+6
View File
@@ -102,6 +102,12 @@ export default define.page<typeof handler>(function Upload(props) {
});
```
## Other HTTP methods
Browsers can only submit forms as `GET` or `POST`. To submit a form as `DELETE`,
`PATCH` or `PUT` and update part of the page with the response, use
[Partials](/docs/advanced/partials#using-other-http-methods).
## A note of caution
These examples are simplified to demonstrate how Deno and Fresh handle HTTP