com.r3corda.node.services.persistence / NodeAttachmentService / upload

upload

fun upload(data: InputStream): <ERROR CLASS>
Overrides AcceptsFileUpload.upload

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.