Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript axios response.data.pipe not a function

const { data } = await axios.get(url, { responseType: "stream" });
    data.pipe(fs.createWriteStream("sample.jpg"));
 
PREVIOUS NEXT
Tagged: #javascript #axios #function
ADD COMMENT
Topic
Name
2+1 =