...
Code Block |
---|
Content-Disposition: form-data; name="file" filename="filename.xyz" (content of filename.xyz) (can repeat) Content-Disposition: form-data; name="body" {the_body_section_of_the_config_page} |
There are three options available
Do not include attachments - This is the standard way of just sending normal JSON data. | |
Latest - any added attachment during the issue event will be added. Attachments older than 5seconds after the event occurs will not be added. | |
All - Include all attachments in the payload multipart data | |
Incoming - When this integration is part of an incoming rule. Read more on incoming: Incoming REST Calls | |
Form variable value | The file parameter can be changed by changing the Form variable value. This can be needed for some APIs to accept attachments. Like Freshdesk needs the file var to be named attachments[] |
Will remove parameters with empty values from the payload |