corda / net.corda.core.node.services / FileUploader / upload

upload

abstract fun upload(file: InputStream): String

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.