This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var FormData = require('form-data'); | |
var fs = require('fs'); | |
var form = new FormData(); | |
form.append('name', 'Viet Dung'); | |
form.append('use_current_cv', 'no'); | |
form.append('file', img.fileUpload); // Lấy ảnh đã được upload | |
await sendRequest({ | |
url: 'https://deploy-itss-production.up.railway.app/api/v1/job/1/upload_cv', |