Home > Back-end >  Java calls file abnormal return interface data acquisition
Java calls file abnormal return interface data acquisition

Time:03-13

In the call interface from people, others' interface returns the file stream, a mp3 format audio files, but I received document flow and stored as a local file, the storage of audio couldn't play, is I call interface code below:


The following is the result of the postman calls this interface returns


Where is problem?

CodePudding user response:

The send and the download

CodePudding user response:

The
reference 1/f, seven of the world, I'll take ninety-nine response:
send the and download

Select this button to

CodePudding user response:

Perform under OS. Flush ()

CodePudding user response:

reference 1/f, seven of the world, I'll take ninety-nine response:
send the and download
I just emersion the postman in the format of the data back, eventually to use Java code to call the interface

CodePudding user response:

Are the data lost in transmission, this can be a package pass by

CodePudding user response:

reference miffyfly reply: 3/f
perform under OS. The flush ()
also not line, I guess may be returned to parse the data files need to use special format, not directly to write in the file

CodePudding user response:

To the edge of the POSTMAN SEND to small arrow can download the
  • Related