I have HTTP Requester add-on for firefox to make HTTPS POST requests. I just don't get why can't I simply copy and paste my HTTPS request URL directly in my browser ? Isn't it the same ? Why do I have to use an add on ?
Asked
Active
Viewed 1,144 times
-1
-
I would appreciate if you told me why my question is downvoted. – user3340627 Apr 30 '14 at 12:19
-
When using the addressbar in the browser you are making get requests and not post requests. Neither do you have the ability to add a content body. – PeeHaa Apr 30 '14 at 12:20
-
To send a post request you can use a HTML `form` using method `POST`. No plugin required. – Sebastian Apr 30 '14 at 12:20
-
before installing the addon you should have read about Get and Post requests – Professor Apr 30 '14 at 12:21
-
Thanks a lot for your helpful answers. @Professor: I know about them ,but I got mixed up since the API i'm using responded to my request URL from my browser exactly like it responded from the HTTP Requester using POST. This could be silly, but I thought it chooses the correct method automatically. – user3340627 Apr 30 '14 at 12:24
2 Answers
0
Because if you just paste your request directly on your browser, you are going to issue a GET
HTTP command and not a POST
one.
POST
are a little bit more complicated to format. You could use a TELNET command to issue a post command like this:
$ telnet YOUR_IP 80
POST / HTTP/1.1
Host: 10.111.111.26
key1=value1&key2=value2

Pablo Santa Cruz
- 176,835
- 32
- 241
- 292