0

我在clevertap中遇到问题。我尝试了clevertap在邮递员中提供的测试帐户,它可以工作。但是当我输入我的帐户 ID 和密码时,它显示Invalid Endpoint


        $profile = [
            "identity"=>"jorem34.like@gmail.com",
              "ts"=>1419421212,
              "type"=>"profile",
              "profileData"=>[
                "Name"=>"Jorem",
                "Email"=>"jorem@gmail.com",
                "Phone"=>"+14153412312",
                "Gender"=>"M",
                "Employed"=>"Y",
                "Age"=>21,
                "Customer Type"=>"Silver",
              ]];

         $body = json_encode([
                'd' => [
                    $profile
                ]
            ]);
        $response = $client->request(
            'POST',
            self::API_URL,
            ['headers' => [
                    'X-CleverTap-Account-Id' => '*****************',
                    'X-CleverTap-Passcode' => '************',
                    'Content-Type' => 'application/json'
            ],
            'body' => $body
            ]
        );
4

0 回答 0