added check that makes a post to couch if request payload is not empty