custom menu set and post json data to server