請確保你的 content-type 是 multipart/form-data。
curl -F "at=@/your/file/path" \ -F "c=yourComment" -F "api=" \ -H "Authorization:Basic YOUR_API_KEY_GOES_HERE" \ https://www.ragic.com/demo/ragicsales-order-management/10001/2
參數 c 為留言回應的內容(必填),參數 at 為附件(選填)。
你可以在個人設定取得你的 API 金鑰。