To POST a file to a REST api directly from a URL without writing to disk in java -
i trying post file object rest api without writing disk. file object available me http url.
is there anyway can send file object rest without saving disk temporarily.
you can directly use
@requestmapping(value = "{id}/file/{filename:.+}", method = requestmethod.get) public void uploadfile () { // write post method here }
Comments
Post a Comment