I got the error below on calling publish via spring RESTful web service.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"
http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML>
<HEAD>
<TITLE>Error</TITLE>
<META HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=ISO-8859-1'>
</HEAD>
<BODY><H1>401 Unauthorized.</H1></BODY>
</HTML>
Please find the request string below. I used postman as a client.
{"method":"publish","id":1,"params":["StreamName","99999999999","hex_string"],"chain_name":"ChainName"}
Please what am i doing wrong.