Restrict http call, parse json response and consistent messages