Amend POST /api/locations endpoint to correct attribute name.