Fix input config lose, and change get and post to query and data