found a way to access the post data