Hi Team,
I got this command to upload an attachment. Can i use 3 file names separated by commas using below comand?
curl -u $USER_NAME:$USER_PASSWORD \
-X POST \
-H "X-Atlassian-Token: nocheck" -F "file=@${ATTACHMENT_FILE_NAME}" -F "comment=File attached via REST API" \
${CONFLUENCE_BASE_URL}/rest/api/content/${PAGE_ID}/child/attachment 2>/dev/null
If NO what is the best way (other than running a loop) to attach all 3 files with a single command to a confluence page?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.