파일 업로드 · 첨부
Last updated
Was this helpful?
Was this helpful?
curl -X POST \
-H "Authorization: Bearer <token>" \
-F "file=@/path/to/contract.pdf" \
"https://salesmap.kr/api/v2/file"curl -X POST \
-H "Authorization: Bearer <token>" \
-F "file=@/path/to/contract.pdf" \
-F "objectType=deal" \
-F "objectId=<dealId>" \
"https://salesmap.kr/api/v2/file"{
"success": true,
"data": {
"id": "<fileId>",
"name": "contract.pdf"
}
}{
"success": false,
"message": "에러 메세지"
}