const response1 = await fetch(imgSrc);

const blob = await response1.blob();
const file = new File([blob], 'testImg');

const response2 = await fetch('http://localhost:8080/upload', {
method: 'POST',
headers: {
'Content-Type': '?' // 여기
},
body: file
});

Blob을 래핑한 파일 클래스 객체인 데 뭘로 하나요 File 클래스라 서칭하기 힘드네오



png니까 image/png 그냥 쓰면 되나오?