Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/delphi/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Delphi TBackendPush发送推送至Kinvey_Delphi_Delphi Xe6_Kinvey - Fatal编程技术网

Delphi TBackendPush发送推送至Kinvey

Delphi TBackendPush发送推送至Kinvey,delphi,delphi-xe6,kinvey,Delphi,Delphi Xe6,Kinvey,我正在尝试向kinvey后端发送一条JSON消息,不管怎样,自定义端点逻辑正在退出并显示错误消息 我的代码是 BackendPush1.GCM.Title := 'title'; BackendPush1.GCM.Message := '{ "message":"hi", "caption":"batman" }'; BackendPush1.Push; 当我发送它时-在后端我收到一个“错误请求”错误。在这种情况下,消息应该是一个简单的字符串。不是JSON

我正在尝试向kinvey后端发送一条JSON消息,不管怎样,自定义端点逻辑正在退出并显示错误消息

我的代码是

BackendPush1.GCM.Title   := 'title';

BackendPush1.GCM.Message := '{ "message":"hi", "caption":"batman" }';

BackendPush1.Push;

当我发送它时-在后端我收到一个“错误请求”错误。

在这种情况下,消息应该是一个简单的字符串。不是JSON