Working with Automatically Created Multi-Part Messages
Multi-part POST messages appear in the Clip Editor workspace just as do any messages.
- Locate and then double-click a selected POST message to open it in the Message Editor lower panel.
- Once open in the lower panel, a multi-part message is indicated by the checked Multi-part POST checkbox in the Message Editor, Inputs, Data field.
- Optionally, click the Message Editor’s Recorded Request, Request Content node to view the read-only message parts. For message parts that have images, they are shown.
- For each message part, a Headers and Body section is presented. The message part is bounded by a gray border with a Plus and Delete icon just above the message part (top right). Both sections are editable. Scroll down in the editor to examine the constituent parts of the multi-part message.
- For a selected Header section, a blue border appears indicating the field is editable. The Property Chooser icon appears on the right. Perform property substitutions as in prior releases by clicking the Properties icon and selecting from among existing custom, system, or global properties, or by defining a new property.
- For a Body section, a blue border appears indicating the field is editable. The (inactive, in this case) Base Encoding and Property Chooser icons appear on the right of the field.
- If the field is base encoded, then the Base Encoding icon appears active (as shown below). Click the Base Encoding icon to toggle it on or off.
- Each section also has an associated File upload interface for file upload selection (either by clicking Browse or by clicking within the Choose a file to upload for the data field). Use Upload binary data for non-text and Upload text for text files.
- When a binary file is chosen and Upload binary data is clicked, the file is encoded and the relevant code is posted in the Body field with the Encoding icon toggled on.
- When a text file is chosen and Upload text data is clicked, the file contents are displayed in the Body field.
- Add additional message parts by clicking the green Plus icon. Delete existing message parts by clicking the red Delete icon. Note that the final message of a multi-part message cannot be deleted and an error message will display if such an attempt is made.To delete the entire clip element, select it in the Clip Editor workspace above and then click Delete on the Clip Editor toolbar. If the message is placed in the HTML Document segment of a page, it will be necessary to delete the page itself.
- Save the clip after making any changes.