Add server put and post handler