fix postaction, add post and put tests do media