I am making a automation website to send multiple files to an another site to prevent filling form every time to send a file.
I want to to make the POST request from server, because AJAX doesn’t allow request to other domains.
How I can make this?
I am using Spring MVC3
Use apache http components – it allows you to perform http requests. You can also use (without 3rd party libraries)
new URL(..).openConnection(), but it’s less pleasant to code with it.