Re: "responseStatus":{"code":"9501","severity":"ERROR&q

Solved! Go to solution
tagizadeorxan
Regular Visitor

"responseStatus":{"code":"9501","severity":"ERROR","message":"Invalid input found, please correct th

String requestJson = "{\"requestHeader\"={\"requestTS\":\"2021-04-27T09:31:07.000\", \"requestMessageID\":\"test998\"},\"requestData\"={\"binRangeSearchIndex\":\"0\", \"binRangeCount\":\"500\"}}";
try (DataOutputStream wr = new DataOutputStream(con.getOutputStream())) {
wr.writeBytes(String.valueOf(requestJson.getBytes(StandardCharsets.UTF_8)));
wr.flush();
}

 

1 REPLY 1
tagizadeorxan
Regular Visitor

Re: "responseStatus":{"code":"9501","severity":"ERROR&q

 solved problem was = replaced with :