server handles POST inserts