Get Vs Post Rest. Use PUT when you can update a resource completely through a. POST is a little safer than GET because the parameters are not stored in browser history or in web server logs.
Though it is used much lesser than a GET request. Step 3 You have to add tests which ensure POST requests fail with incorrect data. Its commonly a good practice to not put sensitive data in a GET query like usernamepassword.
There is no difference whatsoever in server-side capability that you dont make yourself.
So GET method should not be used when sending passwords or. Apr 26 2020 GET vs POST in REST GET Request. Its commonly a good practice to not put sensitive data in a GET query like usernamepassword. When should we use PUT and when should we use POST.
