I'm currently creating a Java application for my image hosting service. The application is supposed to send images via HTTP to my web app, my web app processes and uploads the image and sends back a response to the Java application.
In theory, I know how the process would go, but in practice, it's something I've never tried before and I don't know where to start looking. I've read several articles that explain how to make a HTTP request to the web, but I found nothing that explained how to send images/files over via that HTTP request.
A few examples and some sources would be a great head start. I'd appreciate your help.