How do I POST to a web page using Firebug?

后端 未结 10 1667
灰色年华
灰色年华 2020-12-13 03:24

How do I POST to a web page using Firebug?

10条回答
  •  忘掉有多难
    2020-12-13 03:58

    You can send POST request to any page by opening console (e.g. in FireFox ctrl + shift + k) and typing simple JS:

    var formPost = document.createElement('form');
    formPost.method = 'POST';
    formPost.action = 'https://www.google.com'; //or any location you want
    document.body.appendChild(formPost);
    formPost.submit();
    

提交回复
热议问题