bylexus / protobone

Backbone-inspired PrototypeJS Model extension - Enables Prototype JS users to fetch / store Models from / to a backend using AJAX / REST
http://bylexus.github.io/protobone/
MIT License
1 stars 1 forks source link

PrototypeJS does not support "real" requests other than POST and GET #8

Open bylexus opened 9 years ago

bylexus commented 9 years ago

If issuing a DELETE reqest, PrototypeJS does a POST request with a "_method=DELETE" parameter in the post body.

Document this / change the behavior of the Model library

bylexus commented 9 years ago

work-around provided here: 1c0b09a723740e8cfdc8770996fd1983c9941a5a But it means that at the moment, only GET/POST is supported, as long as PrototypeJS does not support others