Skip to content

Instantly share code, notes, and snippets.

Created January 18, 2022 07:45
What would you like to do?
const req = require('request');
const fs = require('fs');{
headers: {
'Content-Type': 'multipart/form-data',
'X-Api-Key': 'MY_KEY'
url: '',
method: 'POST',
formData: {
file: fs.createReadStream(__dirname + '/MY_CSV_FILE.csv')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment