Why get a response of 200 but not showing message body in the endpoint client with KAA Why get a response of 200 but not showing message body in the endpoint client with KAA json json

Why get a response of 200 but not showing message body in the endpoint client with KAA


I found the right solution.

1- Make sure that your SDK related to schemaId

2- Make sure structure of your schema just given an message field:

{"type": "record","name": "Notification","namespace": "org.kaaproject.kaa.schema.example","fields": [    {        "name": "message",        "type": "string"    }]

}

3- and your json file :

{  "message" : "Hello world!"}

4- your curl command should be according to related schemaId and topicId and applic the tionId

For show to you:This is my json file:enter image description here

Then this is response in client:

enter image description here