How to open cURL in Firefox or other web browser?
up vote
0
down vote
favorite
I have Firebug installed in Firefox. In the Net panel there are all network requests listed. When I right-click and choose Copy as cURL, how do I use this cURL?
How can I repeat my POST request data using cURL?
The copied cURL looks like this:
curl 'http://www.softwareishard.com/firebug/tips/resend/hello.php' -H 'Host: www.softwareishard.com' -H 'User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:26.0) Gecko/20100101 Firefox/26.0' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' -H 'Accept-Language: en-US,en;q=0.5' -H 'Accept-Encoding: gzip, deflate' -H 'Content-Type: application/x-www-form-urlencoded; charset=UTF-8' -H 'Referer: http://www.softwareishard.com/firebug/tips/resend/resend.html' --data 'name=Bob'
google-chrome firefox curl firebug
add a comment |
up vote
0
down vote
favorite
I have Firebug installed in Firefox. In the Net panel there are all network requests listed. When I right-click and choose Copy as cURL, how do I use this cURL?
How can I repeat my POST request data using cURL?
The copied cURL looks like this:
curl 'http://www.softwareishard.com/firebug/tips/resend/hello.php' -H 'Host: www.softwareishard.com' -H 'User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:26.0) Gecko/20100101 Firefox/26.0' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' -H 'Accept-Language: en-US,en;q=0.5' -H 'Accept-Encoding: gzip, deflate' -H 'Content-Type: application/x-www-form-urlencoded; charset=UTF-8' -H 'Referer: http://www.softwareishard.com/firebug/tips/resend/resend.html' --data 'name=Bob'
google-chrome firefox curl firebug
1
What is your OS? *nix? copy/paste into your shell. Windows? You can recreate in Fiddler. Other? Just hit replay it in Firebug.
– David Betz
Feb 10 '16 at 16:26
How To Bypass CORS Errors On Chrome And Firefox For Testing if CORS is issue. Otherwise CORS equivalent is traditionally built in XHR, new way appears to be fetch api.
– Ron Royston
Dec 7 '16 at 0:14
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have Firebug installed in Firefox. In the Net panel there are all network requests listed. When I right-click and choose Copy as cURL, how do I use this cURL?
How can I repeat my POST request data using cURL?
The copied cURL looks like this:
curl 'http://www.softwareishard.com/firebug/tips/resend/hello.php' -H 'Host: www.softwareishard.com' -H 'User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:26.0) Gecko/20100101 Firefox/26.0' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' -H 'Accept-Language: en-US,en;q=0.5' -H 'Accept-Encoding: gzip, deflate' -H 'Content-Type: application/x-www-form-urlencoded; charset=UTF-8' -H 'Referer: http://www.softwareishard.com/firebug/tips/resend/resend.html' --data 'name=Bob'
google-chrome firefox curl firebug
I have Firebug installed in Firefox. In the Net panel there are all network requests listed. When I right-click and choose Copy as cURL, how do I use this cURL?
How can I repeat my POST request data using cURL?
The copied cURL looks like this:
curl 'http://www.softwareishard.com/firebug/tips/resend/hello.php' -H 'Host: www.softwareishard.com' -H 'User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:26.0) Gecko/20100101 Firefox/26.0' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' -H 'Accept-Language: en-US,en;q=0.5' -H 'Accept-Encoding: gzip, deflate' -H 'Content-Type: application/x-www-form-urlencoded; charset=UTF-8' -H 'Referer: http://www.softwareishard.com/firebug/tips/resend/resend.html' --data 'name=Bob'
google-chrome firefox curl firebug
google-chrome firefox curl firebug
edited Jan 30 '16 at 16:40
Sebastian Zartner
4601412
4601412
asked Jan 30 '16 at 1:34
Patrioso
111
111
1
What is your OS? *nix? copy/paste into your shell. Windows? You can recreate in Fiddler. Other? Just hit replay it in Firebug.
– David Betz
Feb 10 '16 at 16:26
How To Bypass CORS Errors On Chrome And Firefox For Testing if CORS is issue. Otherwise CORS equivalent is traditionally built in XHR, new way appears to be fetch api.
– Ron Royston
Dec 7 '16 at 0:14
add a comment |
1
What is your OS? *nix? copy/paste into your shell. Windows? You can recreate in Fiddler. Other? Just hit replay it in Firebug.
– David Betz
Feb 10 '16 at 16:26
How To Bypass CORS Errors On Chrome And Firefox For Testing if CORS is issue. Otherwise CORS equivalent is traditionally built in XHR, new way appears to be fetch api.
– Ron Royston
Dec 7 '16 at 0:14
1
1
What is your OS? *nix? copy/paste into your shell. Windows? You can recreate in Fiddler. Other? Just hit replay it in Firebug.
– David Betz
Feb 10 '16 at 16:26
What is your OS? *nix? copy/paste into your shell. Windows? You can recreate in Fiddler. Other? Just hit replay it in Firebug.
– David Betz
Feb 10 '16 at 16:26
How To Bypass CORS Errors On Chrome And Firefox For Testing if CORS is issue. Otherwise CORS equivalent is traditionally built in XHR, new way appears to be fetch api.
– Ron Royston
Dec 7 '16 at 0:14
How To Bypass CORS Errors On Chrome And Firefox For Testing if CORS is issue. Otherwise CORS equivalent is traditionally built in XHR, new way appears to be fetch api.
– Ron Royston
Dec 7 '16 at 0:14
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
cURL is not part of Firefox or Firebug, i.e. it cannot be executed there. As the Firebug wiki explains:
cURL is a command line tool for transferring data with URL syntax. Firebug's Copy As cURL command recreates the HTTP request (including HTTP headers and query string parameters) and copies it as a cURL command string to the clipboard.
The string can be pasted into a terminal window to execute the same request or for example pasted to a client that supports cURL.
In cases where the server serves compressed responses the preferenceextensions.firebug.net.curlAddCompressedArgument
can be set totrue
and Firebug will add the--compressed argument
to the generated command string.
It also refers to the cURL homepage.
What Firebug offers is to resend the right-clicked request via the Resend option within the context menu.
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
cURL is not part of Firefox or Firebug, i.e. it cannot be executed there. As the Firebug wiki explains:
cURL is a command line tool for transferring data with URL syntax. Firebug's Copy As cURL command recreates the HTTP request (including HTTP headers and query string parameters) and copies it as a cURL command string to the clipboard.
The string can be pasted into a terminal window to execute the same request or for example pasted to a client that supports cURL.
In cases where the server serves compressed responses the preferenceextensions.firebug.net.curlAddCompressedArgument
can be set totrue
and Firebug will add the--compressed argument
to the generated command string.
It also refers to the cURL homepage.
What Firebug offers is to resend the right-clicked request via the Resend option within the context menu.
add a comment |
up vote
0
down vote
cURL is not part of Firefox or Firebug, i.e. it cannot be executed there. As the Firebug wiki explains:
cURL is a command line tool for transferring data with URL syntax. Firebug's Copy As cURL command recreates the HTTP request (including HTTP headers and query string parameters) and copies it as a cURL command string to the clipboard.
The string can be pasted into a terminal window to execute the same request or for example pasted to a client that supports cURL.
In cases where the server serves compressed responses the preferenceextensions.firebug.net.curlAddCompressedArgument
can be set totrue
and Firebug will add the--compressed argument
to the generated command string.
It also refers to the cURL homepage.
What Firebug offers is to resend the right-clicked request via the Resend option within the context menu.
add a comment |
up vote
0
down vote
up vote
0
down vote
cURL is not part of Firefox or Firebug, i.e. it cannot be executed there. As the Firebug wiki explains:
cURL is a command line tool for transferring data with URL syntax. Firebug's Copy As cURL command recreates the HTTP request (including HTTP headers and query string parameters) and copies it as a cURL command string to the clipboard.
The string can be pasted into a terminal window to execute the same request or for example pasted to a client that supports cURL.
In cases where the server serves compressed responses the preferenceextensions.firebug.net.curlAddCompressedArgument
can be set totrue
and Firebug will add the--compressed argument
to the generated command string.
It also refers to the cURL homepage.
What Firebug offers is to resend the right-clicked request via the Resend option within the context menu.
cURL is not part of Firefox or Firebug, i.e. it cannot be executed there. As the Firebug wiki explains:
cURL is a command line tool for transferring data with URL syntax. Firebug's Copy As cURL command recreates the HTTP request (including HTTP headers and query string parameters) and copies it as a cURL command string to the clipboard.
The string can be pasted into a terminal window to execute the same request or for example pasted to a client that supports cURL.
In cases where the server serves compressed responses the preferenceextensions.firebug.net.curlAddCompressedArgument
can be set totrue
and Firebug will add the--compressed argument
to the generated command string.
It also refers to the cURL homepage.
What Firebug offers is to resend the right-clicked request via the Resend option within the context menu.
edited Jan 30 '16 at 16:21
answered Jan 30 '16 at 16:16
Sebastian Zartner
4601412
4601412
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1033316%2fhow-to-open-curl-in-firefox-or-other-web-browser%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
What is your OS? *nix? copy/paste into your shell. Windows? You can recreate in Fiddler. Other? Just hit replay it in Firebug.
– David Betz
Feb 10 '16 at 16:26
How To Bypass CORS Errors On Chrome And Firefox For Testing if CORS is issue. Otherwise CORS equivalent is traditionally built in XHR, new way appears to be fetch api.
– Ron Royston
Dec 7 '16 at 0:14