I use command:
openssl dgst -sha256 -binary document.txt > document.hash
openssl ts -query -data document.hash -sha256 -out request.tsq
curl -X POST --data-binary @request.tsq http://localhost:8080 -o response.tsr
But I read the response.tsr file, I get the error message as follows "{"status":500,"message":"The content-type header value did not match the value in @consumes"}"
Help me please...