sync-request
sync-request copied to clipboard
Make synchronous web requests with cross platform support.
I use "sync-request" at node.js. I need to use a sync request for some reason. Requests may be interrupted due to network fluctuations. I tried to add a timeout to...
## The devDependency [cross-env](https://github.com/kentcdodds/cross-env) was updated from `5.2.1` to `6.0.0`. This version is **not covered** by your **current version range**. If you donβt accept this pull request, your project will...
## The devDependency [rimraf](https://github.com/isaacs/rimraf) was updated from `2.7.1` to `3.0.0`. This version is **not covered** by your **current version range**. If you donβt accept this pull request, your project will...
If this module just invokes `request` module, why does this option not work?
I'm trying to send some request on the exit event. ```js const syncRequest = require('sync-request'); console.log('Process started'); process.on('exit', () => { try { let res = syncRequest('GET', 'https://jsonplaceholder.typicode.com/users/1'); console.log(JSON.parse(res.getBody())); }...
Just loading the library into a NW.js application crashes NW.js. I've tested on NW.js 40.1 on a macOS 10.14.6.
## The devDependency [cross-env](https://github.com/kentcdodds/cross-env) was updated from `5.2.0` to `5.2.1`. π¨ [View failing branch](https://github.com/ForbesLindesay/sync-request/compare/master...ForbesLindesay:greenkeeper%2Fcross-env-5.2.1). This version is **covered** by your **current version range** and after updating it in your project...
## The devDependency [rimraf](https://github.com/isaacs/rimraf) was updated from `2.6.2` to `2.6.3`. π¨ [View failing branch](https://github.com/ForbesLindesay/sync-request/compare/master...ForbesLindesay:greenkeeper%2Frimraf-2.6.3). This version is **covered** by your **current version range** and after updating it in your project...
## The dependency [sync-rpc](https://github.com/ForbesLindesay/sync-rpc) was updated from `1.3.4` to `1.3.5`. π¨ [View failing branch](https://github.com/ForbesLindesay/sync-request/compare/master...ForbesLindesay:greenkeeper%2Fsync-rpc-1.3.5). This version is **covered** by your **current version range** and after updating it in your project...
## The devDependency [express](https://github.com/expressjs/express) was updated from `4.16.4` to `4.17.0`. π¨ [View failing branch](https://github.com/ForbesLindesay/sync-request/compare/master...ForbesLindesay:greenkeeper%2Fexpress-4.17.0). This version is **covered** by your **current version range** and after updating it in your project...