needle
needle copied to clipboard
Nimble, streamable HTTP client for Node.js. With proxy, iconv, cookie, deflate & multipart support.
I am making a POST request using needle to upload a file to our API, I'm also including metadata with that file in the body of the request. I've noticed...
It appears that cookies.js expects the format ofthe `Set Cookies` header to function. This sounds reasonable, but the original request's cookies are stored as a string (for convenience I believe?)...
## Description With the new version of `needle` (3.1.0) the current approach ([here](https://github.com/tomas/needle#more-advanced-proxy-support)) to set up tunnelling doesn't work anymore (version 3.0.0 works fine). Scanning the network using Wireshark shows...
let options = { timeout: 2000, follow_max : 5, follow_set_cookies: true, follow_keep_method: false, follow_set_referer: true, } const res1 = await needle('get', 'https://httpbin.org/cookies/set?name=value', null, options); console.log(res1); body: { cookies: {} },...
needle.get is not stable. sometime it works, sometime it stops without error. is it possible to wait until get a stream handle? thanks.
There should be a feature to enable retires or invoke the same retry promise after some additional parameters like for interceptors does when getting access tokens using refresh tokens when...
When I use Needle to check the following link the process fails with no error messages because of an uncaught exception. This makes it impossible to use in another system...
I have been trying to get this HTTP request to work using Needle without luck. The HTTP request works using Postman and Axos-digest but not using Needle. However, Needle works...
Does needle support HTTP2? Keywords: - `HTTP2`, `HTTP/2.0`
I am making a admin backend server with rest APIs and then i make this client side app using react. I got tons of error when using webpack I do...