I was just trying out async/await with request-promise and ran into this error:  RequestError: Error: no auth mechanism defined       at new RequestError (node_modules/request-promise-core/lib/errors.js:14:15)       at Request.plumbing.callback (node...
I am having similar problem as discussed here: https://github.com/request/request-promise/issues/183  I am using [email protected] and [email protected]  And getting the same error:     TypeError: str.trim is not a function   I also played aroun...
I've got a 'script' that does thousands of requests to a specific API. This API will only allow 5 requests per second (and probably it measures differently then me). To make the requests I'm using request-promise framework, and I'...
Anyone can help me out of this?..   I'm using request-promise to call an API from AWS  in firebase functions below is the code im using, and the image is the output.  I'm wondering why it returns statuscode 400 with the expected output from t...
I'm currently using request-promise in nodejs to make a request to a website and then return the headers, as I'm trying to get the url (location) of the request incase of redirects. Although the issue I'm having is that the location is no...
I'm trying to use request-promise to scrape a the price of an item from Asos.com. When I attempt to run the code below, I get a 403 error. Is this possible that I get this error although the URL that I am attempting to scrape is publicly availabl...
I use request package, but got no luck on Amazon.  The result body is unreadable. The following line is an example of its last line  ?e???k?i?(h????k?Db???5?4?B??U`??aU?n??n?U\?Pi??^?b???Va??RX???k?j?\?jT???]?^???R^n?T??lf?Y???Y??cQ\?i?b??[Z??c?c????...
I've read through the Firebase Cloud Functions reference, guides and sample code to try and determine why my function is triggered twice, but am yet to find a successful resolution. I've also trialed Firebase-Queue as a work-around, however i...
This page shows JSON inside plain empty html/body tags. For example:  <html>   <body>     **JSON DATA ***   </body> </html>   I can access that page fine doing it normally within a browser. But, when I send a request it says t...
I'm trying to recursively fetch data from an API, which returns data in pages.  I want to keep fetching data and appending the result to an array, until hasNextPage is false.  Here's the code I've got related to this so far:  function get...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.