Problem in showing headers and then post data to server.