accept both GET and POST request from DSM