Function mailslurp::apis::attachment_controller_api::download_attachment_as_bytes [−][src]
pub async fn download_attachment_as_bytes(
configuration: &Configuration,
params: DownloadAttachmentAsBytesParams
) -> Result<String, Error<DownloadAttachmentAsBytesError>>
Expand description
Returns the specified attachment for a given email as a stream / array of bytes. You can find attachment ids in email responses endpoint responses. The response type is application/octet-stream.