add header support and postForm support