PRIZ ;]
PRIZ ;]
TTCTheo's Typesafe Cult
Created by PRIZ ;] on 3/28/2024 in #questions
axios + multipart/formdata
nevermind i need to use
const FormData = require("form-data")
const form = new FormData();
form.append("file", fs.createFileStream("path/to/file"));
const FormData = require("form-data")
const form = new FormData();
form.append("file", fs.createFileStream("path/to/file"));
3 replies