Linked Questions

6458 votes
42 answers
3.7m views

Background Information Analysis: According to RFC 2616, § 9.5, POST is used to create a resource: The POST method is used to request that the origin server accept the entity enclosed in the request ...
alex's user avatar
  • 76.4k
1752 votes
10 answers
2.9m views

In an HTTP GET request, parameters are sent as a query string: http://example.com/page?parameter=value&also=another In an HTTP POST request, the parameters are not sent along with the URI. Where ...
Camilo Martin's user avatar
121 votes
2 answers
441k views

Suppose the following route which accesses an xml file to replace the text of a specific tag with a given xpath (?key=): @app.route('/resource', methods = ['POST']) def update_text(): # CODE Then,...
bulkmoustache's user avatar
45 votes
4 answers
71k views

Is there a well-supported, common behavior that I can expect if I do something like this in HTML: <form method="get" action="/somePage.html?param1=foo&param2=foo"> <input name="param2"&...
Brandon Yarbrough's user avatar
38 votes
3 answers
25k views

Is it a bad practice to mix GET and POST? (note this is in PHP) e.g. <form action="delete.php?l=en&r=homepage" method="post"> <!-- post fields here --> </form>
mauris's user avatar
  • 43.6k
65 votes
3 answers
33k views

Applications send out emails to verify user accounts or reset a password. I believe the following is the way it should be and I am asking for references and implementations. If an application has to ...
Kariem's user avatar
  • 4,981
15 votes
5 answers
19k views

I'm sending a POST request in a Rails functional test like this: post :create, collection: { name: 'New Collection' } collection gets sent as JSON-encoded form data, as expected. What I can't figure ...
alexantd's user avatar
  • 3,606
23 votes
2 answers
97k views

When I do http POST request via Web form, Is there any difference(practically or theoretically) between parameters specified in the URL and parameters passed with form on the server side? Can I do ...
Bogdan Gusiev's user avatar
10 votes
4 answers
14k views

OK, I know already all the reasons on paper why I should not use a HTTP GET when making a RESTful call to update the state of something on the server. Thus returning possibly different data each time. ...
atconway's user avatar
  • 21.3k
9 votes
5 answers
11k views

Is it allowable to pass parameters to a web page through the URL (after the question mark) when using the POST method? I know that it works (most of the time, anyways) because my company's webapp ...
rmeador's user avatar
  • 25.8k
6 votes
1 answer
20k views

I have been trying to find an answer if there is some sort of standard in regards to when/when not to use the above methods of passing information to a REST call. I have been looking everywhere but ...
Parker's user avatar
  • 81
7 votes
2 answers
16k views

There is a system that sends POST requests from frontend to backend. These POST requests do not use the body to pass the data to the server; instead, it uses query strings in the URL params. These ...
Alex Borodin's user avatar
  • 2,034
3 votes
3 answers
13k views

I'm not entirely sure how to do this but I have a endpoint URL which is a POST request for login authentication. When you add a request payload, you will get either a successful login credential or an ...
red's user avatar
  • 305
3 votes
1 answer
15k views

I need to create a POST request with http_build_query. Following are my codes: $uri_args = array ( 'name' => 'Jack', 'surname' => 'Jackson', 'username' => 'jackson12', ...
user avatar
3 votes
8 answers
5k views

I need to redirect a user to http://www.someurl.com?id=2 using a POST method. Is it possible? If yes, then how? Right now I have following and it forwards the POST data properly, but it removes the ?...
Victor F's user avatar
  • 915

15 30 50 per page