0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Using unsafe HTTP verb GET to invoke /json/new. This action will stop supporting GET and POST verbs in future versions.

Posted at

エラーがでたためメモ

google-chrome --headless --disable-gpu --remote-debugging-port=9222
[0108/151730.928765:ERROR:devtools_http_handler.cc(636)] Using unsafe HTTP verb GET to invoke /json/new. This action will stop supporting GET and POST verbs in future versions.
[0108/152536.430605:ERROR:devtools_http_handler.cc(636)] Using unsafe HTTP verb POST to invoke /json/new. This action will stop supporting GET and POST verbs in future versions.

image.png

教えてSenpai

PUTメソッドならよさそう

$ curl -X PUT localhost:9222/json/new
{
   "description": "",
   "devtoolsFrontendUrl": "/devtools/inspector.html?ws=localhost:9222/devtools/page/E265A84B69684C42957CFB182F91E907",
   "id": "E265A84B69684C42957CFB182F91E907",
   "title": "",
   "type": "page",
   "url": "about:blank",
   "webSocketDebuggerUrl": "ws://localhost:9222/devtools/page/E265A84B69684C42957CFB182F91E907"
}

URLを指定する方法分かる人いたら教えてちょ

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?