0

I am trying to send a JSON message to kinvey backend, anyway the custom endpoint logic is exiting with error message.

my code is

BackendPush1.GCM.Title   := 'title';

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

BackendPush1.Push;

When I send it - on the backend I am receiving an "Bad Request" error.

Yordan Yanakiev
  • 2,546
  • 3
  • 39
  • 88

1 Answers1

0

The message in this case shall be a simple string. Not JSON.