Postzee icon

Postzee

Consume Postzee API

Upload File

AI-generated

Summary

Upload a file to Postzee by sending binary data from a specified property as multipart/form-data to the /upload endpoint.

Inputs

  • binaryProperty (required) — Name of the binary property that contains the file data

Output shape

The Postzee API response from the upload operation, returned as the node's main execution output.

If the input item is not of binary type or does not contain the expected data/mimeType/fileName properties, the operation throws a NodeOperationError.

Examples

Example 1: Upload an image from a binary property named 'fileData'

Set the Binary Property parameter to 'fileData'. The node will read the binary data, determine its MIME type, and POST it to Postzee's /upload endpoint. The returned response can be used downstream, for example, in a post creation operation's contentItems.

Discussion