AttachmentController
Upload an attachment for sending using file byte stream input octet stream. Returns an array whose first element is the ID of the uploaded attachment.
post/attachments/bytes
Request
- Base URL: https://api.mailslurp.com
- URL: https://api.mailslurp.com/attachments/bytes
- Auth: API key in header x-api-key
Query parameters
contentTypestring
Optional contentType for file. For instance application/pdf
contentIdstring
Optional content ID (CID) to save upload with
filenamestring
Optional filename to save upload with
fileSizeinteger
Optional byte length to save upload with
Headers
contentTypestring
filenamestring
Response
Created
string[] required
Changes
No recorded changes to this operation across all 1 revision of this API.