Skip to content
Myr

Update README

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Yusuke Wada · committed by Yusuke Wada · parent 74bab8b · Browse files · 1 file+11 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+11 added−1 removed

  • other:+11 added−1 removed

1 file+11 added−1 removed

modified:README.md+11 added-1 removed
245 unmodified lines
246```247248### c.json()249250Render text as `Content-Type:application/json`:250Render JSON as `Content-Type:application/json`:251252```js253app.get('/api', (c) => {254 return c.json({ message: 'Hello!' })255})256```257258### c.html()259260Render HTML as `Content-Type:text/html`:261262```js263app.get('/api', (c) => {264 return c.html('<h1>Hello! Hono!</h1>')265})266```267268## fire269270`app.fire()` do:271
104 unmodified lines