I was just having a look under the hood in the new sound cloud and noticed a few thing I hadn't heard of before. I noticed there are PUT and DELETE requests sent when liking a track etc. Now, I know that you can now use SQL directly in JavaScript so I thought they would be used to access the database but I couldn't see much information sent off so I researched it a bit. However, I couldn't find much information since I understand these requests are rarely used since its insecure and the client is not guaranteed that the procedure has been carried out.
Can anyone provide some insight into PUT and DELETE and why you would use them over the usual POST and GET requests with JSON or a PHP file?