expose post method