Skip to content

Commit b155aeb

Browse files
authored
http: fix wrong method for /json/new (#198)
1 parent 7e4c917 commit b155aeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ After disconnection, some apps have chosen to pause their state and offer a reco
229229
"tristate",
230230
// ...</pre>
231231

232-
<h4 id="get-jsonnewurl">GET <code>/json/new?{url}</code></h4>
232+
<h4 id="get-jsonnewurl">PUT <code>/json/new?{url}</code></h4>
233233
<p>Opens a new tab. Responds with the websocket target data for the new tab.
234234

235235
<h4 id="get-jsonactivatetargetid">GET <code>/json/activate/{targetId}</code></h4>

0 commit comments

Comments
 (0)