In fact, now you can (starting from Firefox 3.5) make a pure XHR POST from Firebug, to any domain, you just like it in pure JavaScript on the page, with the theme of the same limitations.
The code is a little long and incompatible, although if you want to use it often (if you do not store it and copy it, paste it every time)
Paste into the console (it will automatically open the command editor, since it is> 1 line)
var xhr = new XMLHttpRequest(); xhr.open("POST", "http://test/xhrtest.php?w=www"); xhr.setRequestHeader("Content-type", "application/x-www-form-urlencoded"); xhr.send("a=aaa&b=bbb");
Remember that on the server side you must enable CORS in order to see the response in Firebug (otherwise the request will be sent, but you will not see the answer in Firebug, you can see it in Fiddler , though); if you opened Firebug when you are on the page http://foo/somepage , then this URL will be sent to XHR in the header field of the HTTP referrer, and this domain should be allowed to receive XHR responses through the Access-Control-Allow-Origin header , which you can either install in the server configuration or directly on the page.
Example in PHP:
<?php header('Access-Control-Allow-Origin: *');
You can then use the Firebug Net tab to check the response (and also on the Console tab if you have the Console > RIGHT CLICK > Show XMLHttpRequest option enabled).
jakub.g Jul 22 2018-12-22T00: 00Z
source share