Making HTTP Requests using Chrome Developer tools

后端 未结 12 1554
小鲜肉
小鲜肉 2020-12-04 04:28

Is there a way to make an HTTP request using the Chrome Developer tools without using a plugin like POSTER?

12条回答
  •  鱼传尺愫
    2020-12-04 05:10

    I had the best luck combining two of the answers above. Navigate to the site in Chrome, then find the request on the Network tab of DevTools. Right click the request and Copy, but Copy as fetch instead of cURL. You can paste the fetch code directly into the DevTools console and edit it, instead of using the command line.

提交回复
热议问题