sync-request icon indicating copy to clipboard operation
sync-request copied to clipboard

Make synchronous web requests with cross platform support.

Results 35 sync-request issues
Sort by recently updated
recently updated
newest added

It appears that sync-request does not support basic access authentication. Are there any plans to include this in the future?

running example: var request = require('sync-request'); var res = request('GET', 'http://example.com'); console.log(res.getBody()); Getting this error: Uncaught Error Error: connect ECONNREFUSED 127.0.0.1:49792 at __node_internal_captureLargerStackTrace (internal/errors:563:5) at __node_internal_exceptionWithHostPort (internal/errors:738:12) at afterConnect (net:1595:16)...

I created [await-sync](https://github.com/jimmywarting/to-sync) today it utilize web workers instead of spawning sync processes and data is transfered synchronous over `SharedArrayBuffer` so less code needs to be copied over. Therefore it's...

A course I teach uses `sync-request` to allow students to send web requests to test their server. We do this as teaching asynchronous code is too complex for us to...