Top "Request-promise" questions

NodeJS simplified HTTP request client 'request' with Promise support.

Nodejs async / await with delay

I have a problem with this code: var request = require('request-promise'); class Test{ constructor(){ } async Start(){ var response = await this.…

node.js asynchronous async-await request-promise
request-promise download pdf file

I received multiple pdf files and must download it from a REST-API. After auth and connect I try to download …

node.js request request-promise
Nodejs Request Promise How to display status code

I am using the request library to make external api calls. https://github.com/request/request. I am using the …

node.js express node-request request-promise
Using Async await in react component

So I've created a component that shoots off post requests with props that I provide. Although I'm familiar with Async …

javascript reactjs promise request-promise
Why is the Promise reject() in my jest.mock going to a then() rather than a catch()?

I have two files, getItemInfo.js to make API calls and getItemInfo.test.js which is the respective Jest test …

javascript node.js unit-testing jestjs request-promise
NodeJS - ERR_INVALID_ARG_TYPE Error thrown while issuing a HTTP request to remote host

Recently, I encountered a problem while trying to issue a request using NodeJS and request-promise. The following code is nested …

node.js request remote-server request-promise remote-host
Request-Promise throws "no auth mechanism defined" using async/await

I was just trying out async/await with request-promise and ran into this error: RequestError: Error: no auth mechanism defined …

javascript node.js request request-promise
RequestError: Error: read ECONNRESET nodejs

I try to use nba.com api, but give me that Error. "RequestError: Error: read ECONNRESET at new RequestError (c:\…

node.js api request-promise