get POST working
add support for PUT