Extracting JSON from response as ResponseEntityProxy{[Content-Type: application/json;charset=UTF-8,Chunked: true]}
问题 I am trying to upload file to an url, and have received instead of regular JSON string response, only ResponseEntityProxy{[Content-Type: application/json;charset=UTF-8,Chunked: true]} . As I understood, there is JSON string as a response in there and I need to extract it somehow. Here is my code what I have tried so far to do (this is in the method where I am uploading file to an url): public String uploadDocument() { String responseMsg="empty"; try(CloseableHttpClient client = HttpClients