Send image to server and retrieve response