All Questions
9 questions
1
vote
0
answers
525
views
how i can send CURL request with use proxy in Google App Script
I need send request on API, but for static IP address, I set up my own squid proxy server on the google cloud virtual machine
what should i write down and how to send analog?:
curl -d "example&...
0
votes
1
answer
179
views
Handle "@" sign in proxy password
I'm making a curl request using a proxy. Let's say:
proxyUsername = "username"
proxyPassword = "p@ssw3rd"
proxyHost = "myproxy.node-a.io"
proxyPort = "11115"
...
0
votes
1
answer
512
views
npm cannot install from registry.npmjs.org
Ok, I'm getting this response when i do:
npm search rollup
npm ERR! pna.nextTick is not a function
npm ERR! code ECONNRESET
npm ERR! network tunneling socket could not be established, statusCode=503
...
0
votes
0
answers
321
views
How to load url from terminal in nodejs
When I execute my app, I need to manually enter url in browser and it redirects via proxy to target url.
var express = require('express');
var proxy = require('http-proxy-middleware');
var app = ...
-1
votes
1
answer
2k
views
Convert this cURL command with proxy to a Node.JS code
I have the following cURL command:
curl.exe -X GET -k _https://url --proxy proxy.example:80 --proxy-user "user:password"
I've been trying using a global proxy like global-tunnel or something like ...
38
votes
8
answers
104k
views
How to use axios to make an https call?
I am trying to use axios with a proxy server to make an https call:
const url = "https://walmart.com/ip/50676589"
var config = { proxy: { host: proxy.ip, port: proxy.port } }
axios.get(url, config)
....
0
votes
0
answers
237
views
Why my server is causing two Access-Control-Allow-Origin headers on Express with Nignx Proxy?
I'm building an Express application in Node.js. And I'm turning cors on in express by doing this.
var express = require('express');
var bodyParser = require('body-parser');
var cors = require('cors');...
1
vote
1
answer
2k
views
Server Side Proxy using Node.js
I am trying to create a web application that has to make a REST call to a CDAP Server. When I tried using the typical jQuery/AJAX I was running into CORS/Access-Control-Allow-Origin issue due to the ...
0
votes
1
answer
2k
views
Specifying "noproxy" for node.js client request
My OS has a system-wide proxy set. I believe the following call is trying to go through that proxy:
var client = http.createClient(8124, '127.0.0.1'); // couchdb
var request_db = client.request('GET',...