needle
needle copied to clipboard
Nimble, streamable HTTP client for Node.js. With proxy, iconv, cookie, deflate & multipart support.
```javascript needle.get( url, needleOptions, callback ) ``` Needle.get does not expect any query parameters from needle options.
Hi Team, there seems to be a problem sending multiple files at the same field(part) name. var data = { images: [{ file: 'linux.png', content_type: 'image/png' }, { file: 'linux(1).png',...
Hi, Having the following express server example: ` app.get('/', (req, res) => needle.request('get', 'www.google.com').pipe(res)); ` The response does not contain the appropriate headers. For example, content-type is missing and the...
I'm using Needle to talk to an API, and need to use a self-signed cert. I can do "get" requests, setting rejectUnauthorized to false, and things work fine. However, when...
I needed a bit more control over the _follow-if_ logic today, so I created a small patch to enable the declaration of numerous user-defined conditions: ```js const options = {...
Reading a UTF-8 CSV and attempting to upload it with needle via a multipart POST can cause non-ASCII characters inside the CSV data to be replaced by other characters. ##...
This probably(:tm:) isn't a bug in `needle`, but it appears in `needle`, so I thought I'd raise it here, just in case someone else is going insane. Very, very occasionally,...
I created a simple Express server with one POST endpoint. The POST endpoint just return the request body sent from the client. The code for this server looks like this:...
In my project I'm using Twitter API user timeline (both v1 and v2) and filtered stream (v2) with needle successfully, but I can't get the v1 version of filtered stream...