Backbone’s description of Model.save is backwards. Save is PUT and edit is POST. In addition, I just found out PHP doesn’t have a clean way of accessing PUT variables. Here’s how you do it.
Backbone’s description of Model.save is backwards. Save is PUT and edit is POST. In addition, I just found out PHP doesn’t have a clean way of accessing PUT variables. Here’s how you do it.