-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
If I want to use http proxy,I will
require('http').request({
host:'127.0.0.1',
port:8580,
method:'POST',
path:'https://www.google.com',
},function(res){
//...
})
But I use node-fetch,
fetch(obj).then(function(res){
...
})
It throw TypeError: Parameter 'url' must be a string, not object
It does not support URL objects
MunnyReol
Metadata
Metadata
Assignees
Labels
No labels