[openstreetmap/openstreetmap-website] BUG api preferences (#2928)

jonycoo notifications at github.com
Sun Nov 1 22:19:11 UTC 2020


Hello, 
short thank you for working on improving Open Street Map on the Software part.

to the Bug:

the endpoints
- xml update PUT /api/0.6/user/preferences
- single update PUT /api/0.6/user/preferences/<mypref>

return always HTTP 500 Internal server error

the endpoint
- get single GET  /api/0.6/user/preferences/<mypref>

returns HTTP 404 Not Found with and without authentication

The DELETE endpoint I haven't tested 
all this was only tested on the development website 
I used BasicAuth for this tests

more information can be found in https://github.com/jonycoo/py-osmapi/commit/9452df175fb49bfbfdcddc6843c854f06aba7ea9 module `osm-api.py` section `USER` line 630

Thanks, 
jonycoo

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/2928
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20201101/0a8b5bdd/attachment.htm>


More information about the rails-dev mailing list