discussions Search Results · user:sindresorhus language:swift archived:false is:public language:Swift is:unmerged is:unmerged
Filter by
265 results
insindresorhus (press backspace or delete to remove)Some qualifiers in your query (language, archived) are not supported when searching discussions. Try searching for repositories instead?
:
Describe the bug
- Node.js version: v14.16.0
- OS version: macOS Big Sur v11.2.2, got version 11.8.2
I m attempting to make GET requests to the Pipedrive API (docs), located at https://api.pipedrive.com/. ...
:
What problem are you trying to solve?
Sometimes I need to cancel a request, but also access partial content downloaded by it. I cancel it from the progress
event.
Describe the feature
I see request.isCanceled ...
:
url: https://www.amazon.com/dp/B002ZVOLXE
content: Sorry, we just need to make sure you re not a robot. For best results, please make sure your browser is
accepting cookies.
What do I need to do to access ...
:
The library is not working with jest at all I tried ky universal too but again getting the import issue. Please help
:
I have the following code which I use to download an assortment of files from S3 and save them locally:
const responsePromise = got.get(urlToDownload);
const body = await responsePromise.text();
const ...
:
Describe the bug
- Node.js version: 15.3.0
- OS version: Ubuntu 20.04
!-- A clear and concise description of what the bug is. --
Fetching with got using a proxy Agent (hpagent) results in a Z_BUF_ERROR ...
:
What would you like to discuss?
Hi, I m really struggling to block until a stream is connected. Taking this pseudo code:
const stream = got.stream(options)
stream.on( data , console.log)
console.log( ...
:
What would you like to discuss?
I m using the stream API to upload a file:
const stream = fs.createReadStream(path.resolve(process.cwd(), test.txt ));
const req = got.stream( http://localhost:5000/file/test.txt ...
:
Describe the bug
- Node.js version: 15.5
- OS version: Ubuntu
Actual behavior
the returned value from a got call is wrong
Expected behavior
data to be returned
Code to reproduce
const ...
:
What would you like to discuss?
got.post with options ...
Checklist
- [ X] I have read the documentation. For hours. I am here because I am stuck not for a quickie :)
var options = {
...