Looking at the description of the question, the other party should provide an http service. The subject wants to upload files to the corresponding service through HttpClient. If my understanding is correct. Then the poster must convert List<> into the corresponding file format .csv. If you don’t do this, the other party can receive your byte stream, but it will not be able to parse it, because the other party is in CSV format. F.
In a word, the business protocols of the client and the server are inconsistent. Neither side knew what the other said.
Others know, but I have successfully passed this as a parameter through the java io stream.
How to directly read the list stream across languages?
Looking at the description of the question, the other party should provide an http service. The subject wants to upload files to the corresponding service through HttpClient.
If my understanding is correct.
Then the poster must convert List<> into the corresponding file format .csv.
If you don’t do this, the other party can receive your byte stream, but it will not be able to parse it, because the other party is in CSV format. F.
In a word, the business protocols of the client and the server are inconsistent. Neither side knew what the other said.
.csv contains the file header information and the unique file content of the .csv file, just like a defined protocol