requestjs Questions
4
Solved
My express server receives file uploads from browsers. The uploads are transferred as multipart/form-data requests; I use multiparty to parse the incoming entity body.
Multiparty allows you to get...
Piemonte asked 7/9, 2017 at 21:31
2
Solved
I get an error when I'm executing GET request.
Error: read ECONNRESET
at TLSWrap.onStreamRead (internal/stream_base_commons.js:111:27) errno: 'ECONNRESET', code: 'ECONNRESET', syscall: 'read' }
...
3
Solved
I am trying to loop through an array of objects that I got from an http call using to my internal API using the request module/package. So far, I am able to get my data back from the API and DISPLA...
3
Solved
How do you use request to download contents of a file and directly stream it up to s3 using the aws-sdk for node?
The code below gives me Object #<Request> has no method 'read' which makes i...
2
Solved
I was trying to GET a binary data using request, and had something like:
var requestSettings = {
method: 'GET',
url: url,
};
request(requestSettings, function(error, response, body) {
// Use bo...
Fraudulent asked 13/2, 2013 at 13:46
1
Solved
I am trying to make an GET HTTP request to a AWS API Gateway endpoint connected to a lambda function.
The endpoint and lambda function work as usual when tested with postman which is logical since...
Vagina asked 12/3, 2019 at 15:49
0
I am using request-promise library and trying to set the timeout as milliseconds as per their documentation. I have few requests on the server side that take more than a minute to response, no matt...
Vision asked 9/7, 2018 at 6:10
1
Solved
I have to send binary contents of a remote file to an API endpoint. I read the binary contents of remote file using request library and store it in a variable. Now with contents in the variab...
Bronnie asked 8/6, 2016 at 13:12
1
I want to force the browser to download a file from an external storage, given an url.
I implemented this express controller post action:
var download = function(req, res) {
request(req.body.url)...
Assured asked 26/5, 2015 at 22:48
2
Solved
Ok so I am trying to make two or more requests to API endpoints using the request module. I am rendering a HTML file and passing the returned JSON to a handlebars template using the below code:
re...
Sumatra asked 4/1, 2016 at 14:24
1
Solved
I'm using request in my app to send a POST request over HTTPS with Client Authentication. Request always throws an error Error: Invalid URI "/" and I couldn't do anything to solve it. I've tried us...
1
© 2022 - 2024 — McMap. All rights reserved.