MailSlurpAPI.Api.AttachmentController.download_attachment_as_base64_encoded
You're seeing just the function
download_attachment_as_base64_encoded
, go back to MailSlurpAPI.Api.AttachmentController module for more information.
Link to this function
download_attachment_as_base64_encoded(connection, attachment_id, opts \\ [])
Specs
download_attachment_as_base64_encoded(Tesla.Env.client(), String.t(), keyword()) :: {:ok, MailSlurpAPI.Model.DownloadAttachmentDto.t()} | {:error, Tesla.Env.t()}
Get email attachment as base64 encoded string as alternative to binary responses. To read the content decode the Base64 encoded contents.
Returns the specified attachment for a given email as a base 64 encoded string. The response type is application/json. This method is similar to the downloadAttachment
method but allows some clients to get around issues with binary responses.
Parameters
- connection (MailSlurpAPI.Connection): Connection to server
- attachment_id (String.t): ID of attachment
- opts (KeywordList): [optional] Optional parameters
Returns
} on success {:error, info} on failure