I launched the source-sample/dynamic-destination-source-kafka. I get this error when I use curl command:
curl -H "Content-Type: application/json" -X POST -d {"id":"customerId-1","bill-pay":"100"} http://localhost:8080/
com.fasterxml.jackson.core.JsonParseException: Unrecognized token 'id': was expecting (JSON String, Number, Array, Object or token 'null', 'true' or 'false') at [Source: (String)"id:customerId-1"; line: 1, column: 3]
For windows terminal, the curl command should be like this:
curl -H "Content-Type: application/json" -X POST -d "{\"id\":\"customerId-1\",\"bill-pay\":\"100\"}" http://localhost:8080
Hello.
I launched the
source-sample/dynamic-destination-source-kafka
. I get this error when I use curl command:curl -H "Content-Type: application/json" -X POST -d {"id":"customerId-1","bill-pay":"100"} http://localhost:8080/
com.fasterxml.jackson.core.JsonParseException: Unrecognized token 'id': was expecting (JSON String, Number, Array, Object or token 'null', 'true' or 'false') at [Source: (String)"id:customerId-1"; line: 1, column: 3]