파일 업로드
파일 업로드
POST https://api.roundhr.com/v1/upload/presign
파일 업로드 할 수 있는 URL를 반환합니다.
Headers
Name
Value
Content-Type
application/json
Authorization
Bearer <token>
Body
Name
Type
필수
Description
parameter type
filename
string
required
첨부 파일 파일명
body
응답 예제
{
"resource":{
"presigned_url": "https://temp.amazonaws.com/upload/candidate/file/1/temp/1622473200/test.pdf?x-amz-acl=private",
"file_url": "https://temp.amazonaws.com/upload/candidate/file/1/temp/1622473200/test.pdf"
}
}실제 서버 전송시에는 주소를 디코딩 (decodeURIComponent) 하여 전송해 주세요
Last updated
Was this helpful?