osmlab / to-fix-backend

The to-fix server
BSD 3-Clause "New" or "Revised" License
15 stars 13 forks source link

If item PUT request is Not Found, create the item #192

Open emilymdubois opened 6 years ago

emilymdubois commented 6 years ago

It would be helpful, if a user attempts to update an item that does not exist, for the default behavior to be to create the item instead of returning {"message":"Not Found"}. We could accept an optional query parameter if a user wants to override this behavior.

cc @batpad