Wiki - Confluence - Upload an attachment to Confluence by code

curl -v -S -X POST -H "X-Atlassian-Token: nocheck" -F "file_0=@store_abcd.xlsx -F "comment_0=some_comment " "https://confluence.example.com/pages/doattachfile.action?pageid=626057374&os_username=&os_password='xxx'"