clients
clients copied to clipboard
HttpClient, StringClient, and JsonClient extracted from restify
Hi, It does not seem to mention in the docs how to send an http request with mutual auth support. Does restify-clients support **rejectUnauthorized** and **ca** options?
https://github.com/restify/clients/blob/04652aa3e9cfa35c6a4fa65bc2006a4caf3808f5/lib/helpers/auditor.js#L16 https://nodejs.org/api/deprecations.html#deprecations_dep0066_outgoingmessage_prototype_headers_outgoingmessage_prototype_headernames
From looking at the source code and documentation I did not see a way to upload files using restify-clients. I wanted to open a ticket about the improvement to support...
When making a request using JsonClient or StringClient, where the server returns a redirect status (such as 301), and the Location header is a different server than the one the...
Code below is work! ``` const rest_clients = require('restify-clients'); let client= rest_clients.createJsonClient({ url: 'https://graph.facebook.com', version: "3.2", query: { access_token: "xxx" } }); client.get("/xxxxxxyyyy", function (err, req, res, obj) { if...
Fix #159: CRL support missing from clients add CRL support for HttpClient
I know we’re using Yarn—why again? But still, should the deprecated dependencies called out by `npm i` be evaluated? ``` npm WARN deprecated [email protected]: Deprecated in favour of eslint-config-wikimedia. --...
MOVED FROM: https://github.com/restify/node-restify/issues/539 Using latest restify (2.6.1) when json client makes http DELETE request it sets content-type to application/octet-stream instead application/json. Check out this gist: https://gist.github.com/spikhoff/9229833
Hi, maybe I am doing it wrong, but I am not able to set the CharSet in the headers. (Needed to send some japanese body) Usually in postman: Content-Type: application/json;...
Hi, It looks like that http_client implementation does not currently support CRL's while using HTTPS. All other needed tls.secureContext options (e.g. ca, cert, key) are supported but from some reason...