Reputation: 21
I am trying to use a chaincode with minifabric. The transaction payloads are shown correct when the payload is a number but when I send string as payload the payload returned is encoded like this "\262\027\236\267W\332\226\307\254\205\347\255\331\366\245\261" . How do I get the string as payload.
Upvotes: 0
Views: 145
Reputation: 381
to get actual value of string try to convert it to string by using toString()
function with the response
Upvotes: 0