support POST /rest/<name>