Questions tagged [request-npm]
3 questions
1
vote
1 answer
sending request through proxy. request library works, axios does not
I am trying to update some old code to get rid of the request package since it is no longer maintained. I attempted to replace a proxy request with axios, but it doesn't work (I just get a timeout). Am I missing an axios config somewhere? The…

Rilcon42
- 9,584
- 18
- 83
- 167
1
vote
1 answer
Calling Variable outside the Scope of "Request" in Request npm. at node.js
var request = require('request');
request("http://example.com/index.php?username=username&password=password, function (error, response, body) {
var n1 = body.search('');
var n2 = body.search(' ');
var final = body.slice(n1+6,…

Suprin Aziz Talpur
- 63
- 8
0
votes
1 answer
Download image and resize in nodejs
What I am trying to do is download an image from google into my system repository in the project folder /download. Next, I am trying to get the image from the download repository and resize and again save the resized image in /thumbnail repository.…

rji rji
- 697
- 3
- 17
- 37