make read and put two actions, you can route different http methods to different actions