Making HTTP Requests using Chrome Developer tools

后端 未结 12 1560
小鲜肉
小鲜肉 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:06

    if you use jquery on you website, you can use something like this your console

    $.post(
        'dom/data-home.php',
        {
        type : "home", id : "0"
        },function(data){
            console.log(data)
        })

提交回复
热议问题