added basic POST support