[Show all top banners]

roomrent969
Replies to this thread:

More by roomrent969
What people are reading
Subscribers
:: Subscribe
Back to: Kurakani General Refresh page to view new replies
 If you are Java (REST + Spring) expert, here is a good question
Keywords associated with this thread

counterfeit money
[VIEWED 8648 TIMES]
SAVE! for ease of future access.
Posted on 07-25-18 9:06 PM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

This seems interesting issue. I had worked on uploading file using RestTemplate but this seems little bit different. Feel free to answer if you are Spring expert
Dont forget to click in LINK
Last edited: 25-Jul-18 09:06 PM

 
Posted on 07-26-18 2:29 PM     [Snapshot: 262]     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

Its been a long time since I had encountered the same issue so I vaguely remember the fix.
1. Split the request (media file only and other parameters) OR
2. You need to have special spring configuration to allow spring controller to handle media transfer.
OR something similar.
See https://www.callicoder.com/spring-boot-file-upload-download-rest-api-example/


 


Please Log in! to be able to reply! If you don't have a login, please register here.

YOU CAN ALSO



IN ORDER TO POST!




Within last 7 days
Recommended Popular Threads Controvertial Threads
TPS Re-registration case still pending ..
and it begins - on Day 1 Trump will begin operations to deport millions of undocumented immigrants
Travel Document for TPS (approved)
All the Qatar ailines from Nepal canceled to USA
NOTE: The opinions here represent the opinions of the individual posters, and not of Sajha.com. It is not possible for sajha.com to monitor all the postings, since sajha.com merely seeks to provide a cyber location for discussing ideas and concerns related to Nepal and the Nepalis. Please send an email to admin@sajha.com using a valid email address if you want any posting to be considered for deletion. Your request will be handled on a one to one basis. Sajha.com is a service please don't abuse it. - Thanks.

Sajha.com Privacy Policy

Like us in Facebook!

↑ Back to Top
free counters