According to KAA documents, send Notification to KAA with below command,
curl -v -S -u devuser:devuser123 -F'notification={"applicationId":"3","schemaId":"20","topicId:"1","type":"USER"};type=application/json' -F file=@/home/richard/notification.json "http://192.168.30.27:8080/kaaAdmin/rest/api/sendNotification"
I'm sure that the IP address of KAA server and notification settings are right. But get below errors,
HTTP/1.1 100 Continue HTTP/1.1 400 Bad Request
Any guys meet the same issue and could you please give some clue?
Response Messages: 400 The specified notification is not valid
I think you need to check your message's style for notification.json.
My message style is { "Message": "Hello world!"} and .avsc file is :