Linked Questions
119 questions linked to/from When do you use POST and when do you use GET?
7 votes
8 answers
16k views
So why should we use POST instead of GET for posting data? [duplicate]
Possible Duplicates: How should I choose between GET and POST methods in HTML forms? When do you use POST and when do you use GET? Obviously, you should. But apart from doing so to fulfil the ...
4 votes
2 answers
11k views
What is the difference between GET and POST methods? [duplicate]
Possible Duplicate: When do you use POST and when do you use GET? I know the basic difference between GET and POST methods. That is we can see the URL parameters in case of GET and can't see the ...
1 vote
2 answers
7k views
Can we use Post method to fetch data from DB or only GET is used? [duplicate]
Please let me know when to use GET method and when POST in REST API. As Post is supposed to be more secure, so can we use in case of getting the data from the database in REST API or it just can be ...
1 vote
3 answers
2k views
jQuery ajax call GET or POST [duplicate]
Possible Duplicate: When do you use POST and when do you use GET? If I use jQuery ajax call to communicate with server, in general, when should I use type get to call and when should I use post to ...
-2 votes
2 answers
1k views
getting Notice: Undefined index: text in .... at line 4 [duplicate]
4:$textik = $_POST['text']; and im getting notice: Undefined index: text in path/to/script on line 4. why? the url is http://somesite.domain/path/to/script?text=something Thanks for answers edit:...
18 votes
0 answers
712 views
What can POST do, GET can't do? [duplicate]
Possible Duplicate: When do you use POST and when do you use GET? I read from a book that POST is used to send data to the server that somehow causes a change in the state of the server, such as ...
0 votes
1 answer
331 views
Choosing between POST and GET [duplicate]
Possible Duplicates: GET vs. POST (form processing) When do you use POST and when do you use GET? I'm interested in POST and GET. Why do I exactly need them and what is the difference between ...
0 votes
2 answers
92 views
Why should I use POST etc methods instead of URL parameters? [duplicate]
We can accomplish the same thing by doing: localhost:3000/endpoint?var1=val1&var2=val2 That we can do by using POST with a JSON body. So why should anyone use PUT/POST/PATCH if they can get the ...
0 votes
1 answer
80 views
Why do we need GET method for API endpoint? [duplicate]
A general question of mine who working on API endpoints as backend system. I wonder what if all endpoint methods are POST, and when it is better to use GET?
0 votes
0 answers
60 views
MySQL database lost all data without any action [duplicate]
I made an application for taxi service with PHP and MySQL. And I use PDO for connecting. I setup an admin panel and I wrote a delete query for delete unwanted price records according to its priceid. ...
1177 votes
19 answers
393k views
What is an idempotent operation?
What is an idempotent operation?
289 votes
15 answers
223k views
When should I use GET or POST method? What's the difference between them?
What's the difference when using GET or POST method? Which one is more secure? What are (dis)advantages of each of them? (similar question)
119 votes
9 answers
59k views
Dot character '.' in MVC Web API 2 for request such as api/people/STAFF.45287
The URL I'm trying to let work is one in the style of: http://somedomain.com/api/people/staff.33311 (just like sites as LAST.FM allow all sort of signs in their RESTFul & WebPage urls, for example ...
65 votes
3 answers
33k views
What are best practices for activation/registration/password-reset links in emails with nonce
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 ...
15 votes
10 answers
18k views
GET vs. POST Best Practices
For my web application (PHP/MYSQL), I show a list of items and a link on each row to delete the item. Right now, the link is <a href='item.php?id=3&action=delete'>Delete Item</a> If ...