Skip to content

Instantly share code, notes, and snippets.

View eric-sproles-volusion's full-sized avatar

eric-sproles-volusion

View GitHub Profile
@eric-sproles-volusion
eric-sproles-volusion / images.js
Last active March 11, 2020 18:47
Write 404 images
const express = require('express');
const router = express.Router();
const axios = require('axios');
const fs = require('fs');
const headers = { 'x-vol-tenant': '5c49cda1ddca5800122fad4e' };
const materialApi = 'https://api.material.com/images';
const getImages = async (url, headers) => {
const params = {