Skip to content

Commit 7b18153

Browse files
authored
Merge pull request #510 from JS-Taiyou/patch-1
Update route.md
2 parents 8cc0963 + 498ab94 commit 7b18153

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/essential/route.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -470,11 +470,11 @@ const app = new Elysia()
470470
- **hook**: Additional metadata
471471

472472
When navigating to each method, you should see the results as the following:
473-
| Path | Method | Result |
474-
| - | --- | --- |
475-
| / | GET | hello |
476-
| / | POST | hi |
477-
| / | M-SEARCH | connect |
473+
| Path | Method | Result |
474+
| --------- | -------- | ------- |
475+
| /get | GET | hello |
476+
| /post | POST | hi |
477+
| /m-search | M-SEARCH | connect |
478478

479479
::: tip
480480
Based on [RFC 7231](https://www.rfc-editor.org/rfc/rfc7231#section-4.1), HTTP Verb is case-sensitive.

0 commit comments

Comments
 (0)