New answers tagged

-1 votes

can not injection/operation because 415 not support media type

this code return 400 bad request MediaType media = MediaType.parse("application/json"); String s = "a3..."; RequestBody body = RequestBody.create(media,s.getBytes()); Request ...
user avatar
0 votes

can not injection/operation because 415 not support media type

Have a look at TezosJ_SDK/TezosGateway.java (query method). MediaType MEDIA_PLAIN_TEXT_JSON = MediaType.parse("application/json"); String s = "a3..."; RequestBody body ...
user avatar

Top 50 recent answers are included