DoRequestAsync function has been changed.

DoRequestAsync function in main class has been changed.