public static void sendRequest(Dictionary <string, object> data, RequestSuccessDelegate successDelegate, RequestFailDelegate failDelgate, string formKey = "data")
    {
        AppSettings.setServerUrlAccordingToPlatform();

        GameObject         oldServiceObj = GameObject.Find("HttpRequestService");
        GameObject         newServiceObj = (GameObject)Instantiate(oldServiceObj);
        HttpRequestService service       = newServiceObj.GetComponent <HttpRequestService>();

        if (formKey == "data")
        {
            data["Diamond"]    = UserManagerCloud.Instance.CurrentUser.UserGoldCoins;
            data["SnowBall"]   = UserManagerCloud.Instance.CurrentUser.SnowBall;
            data["Hourglass"]  = UserManagerCloud.Instance.CurrentUser.Hourglass;
            data["IcePick"]    = UserManagerCloud.Instance.CurrentUser.IcePick;
            data["MagicPower"] = UserManagerCloud.Instance.CurrentUser.MagicPower;
        }

        service._data            = data;
        service._formKey         = formKey;
        service._successDelegate = successDelegate;
        service._failDelgate     = failDelgate;

        System.Random rd = new System.Random();
        service._authCode = rd.Next();

        service.sendHttpRequest();
    }