[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 16291 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 90 days
Recommended Popular Threads Controvertial Threads
ChatSansar.com Naya Nepal Chat
Supporting issues on principle instead of blind brainwashed support
त्रुम्प्ले आफैले आफुलाई क्षमादान गर्ने भो, It may be the first and last Self-Pardon.
Cricketer Sandeep Lamichhane singing & playing guitar
Breaking News: Ninth Circuit Rejects Government Bid to Undo Nepal TPS Order, Leaves Protections in Place
Why Oli must go for the UML to survive?
Supreme Court Decision Crushes TPS Dreams
Does he deserve Noble Peace prize??
Democrats cannot think for themselves
Deepak Bhatta could help bring down the three stooges
maga got what they voted for
where are Hunter Biden and Biden got 40k maga hounds?
Trump Said He’s “very happy” with Rising Gas Prices #maga #fafo
नेपालको टीपीएस चाई हस त नमस्ते नई भाको रच
Who are the real Sukumbaasis?
Zero Civic Sense: Indians in Nepal
TPS Automatically Extended for Six Months!!!
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