girmate писал(а): ↑2017.03.04, 21:31
mat.twg писал(а): ↑2017.03.04, 21:28
Вы слышали звон, но не знаете где он...
Советом можете помочь?
Тут кратко и понятно, что делают POST\GET.
Тут сухо и скучно. Но первоисточник.
Вся соль:
In particular, the convention has been established that the GET and HEAD methods SHOULD NOT have the significance of taking an action other than retrieval. These methods ought to be considered "safe". This allows user agents to represent other methods, such as POST, PUT and DELETE, in a special way, so that the user is made aware of the fact that a possibly unsafe action is being requested.
Naturally, it is not possible to ensure that the server does not generate side-effects as a result of performing a GET request; in fact, some dynamic resources consider that a feature. The important distinction here is that the user did not request the side-effects, so therefore cannot be held accountable for them.
Если у вас в url язык, то это значит, что нужно
отдать контент с заданным языком. Но я и сам не понял, как можно говорить, что лучше через GET, не зная кейсов... Если вам так удобнее, делайте так.