fun upload(data: InputStream): <ERROR CLASS>
Accepts the data in the given input stream, and returns some sort of useful return message that will be sent back to the user in the response.