Uploading a file with a filename with Spring RestTemplate
When you google, you will find several examples of, how to upload a file with Spring RestTemplate. A lot of them are wrong in a small but important detail. They don’t send the filename in the correct format.