chrome-devtools-protocol icon indicating copy to clipboard operation
chrome-devtools-protocol copied to clipboard

fix: change HTTP method of endpoints from POST to GET

Open hgsgtk opened this issue 2 years ago • 0 comments

The commit changes HTTP methods from POST to GET.

As we can see in the Chrome DevTools Protocol document. the endpoints are defined as follow.

  • GET /json/version
  • GET /json or /json/list
  • GET /json/new?{url}
  • GET /json/activate/{targetId}
  • GET /json/close/{targetId}

https://chromedevtools.github.io/devtools-protocol/

Actually, there is no problem using the HTTP method POST, but it's better to use GET to comply with the API specification.

hgsgtk avatar Mar 24 '22 05:03 hgsgtk