We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
github.com/ananjaemin/tempfiles/src/pages/main/index.tsx 파일에서 axios 요청을 보낼때 file 필드에 실제 바이트 데이터가 아닌 filename string으로 요청을 날리는 문제
github.com/ananjaemin/tempfiles/src/pages/main/index.tsx
The text was updated successfully, but these errors were encountered:
if (fileProps.name != '' && fileProps.size != '') { const formdata = new FormData(); formdata.append('file', fileProps.name); await axios({ method: 'post', url: 'https://tfb.minpeter.cf/upload', data: formdata, headers: { 'Content-Type': 'multipart/form-data', }, })
핵심 문제 코드
Sorry, something went wrong.
bugfix-1 브랜치에서 fix
나중에 알아볼 수 있도록 files -> fileData로 변수명 변경 #1
203ab16
Merge pull request #2 from ananjaemin/bugfix-1
2aae5fc
Bugfix 1 #1
minpeter
Successfully merging a pull request may close this issue.
github.com/ananjaemin/tempfiles/src/pages/main/index.tsx
파일에서 axios 요청을 보낼때 file 필드에 실제 바이트 데이터가 아닌 filename string으로 요청을 날리는 문제The text was updated successfully, but these errors were encountered: