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

Popular posts from this blog

Redirect to a HTTPS version using .htaccess -

Unlimited choices in BASH case statement -

javascript - jQuery: Add class depending on URL in the best way -