fix response JsonSuccess and JsonError function and add getip example