[openstreetmap-website] Notes API doesn't require POST method (#520)

Bas Couwenberg notifications at github.com
Sat Nov 2 01:23:30 UTC 2013


Even though the [Notes API documentation](http://wiki.openstreetmap.org/wiki/API_v0.6#Create_a_new_note:_Create:_POST_.2Fapi.2F0.6.2Fnotes) on the wiki mentions that the create, comment and close requests will return 400 Bad Request when not using the POST method, notes_controller.rb doesn't enforce this by using assert_method :post.

Is the documentation wrong, or should notes_controller.rb be fixed to use assert_method? I suspect the latter.


---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/520
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20131101/fe7b2413/attachment.html>


More information about the rails-dev mailing list