Code for REST post 3 of 5