You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 4, 2018. It is now read-only.
JSONStream.parse([true]).pipe(request({method: 'POST',url: this.url.href+'/_bulk_docs',headers: this.headers},function(err,res,body){if(err){console.log('RESPONSE ERROR:',err)return}if(res&&res.statusCode!==201){console.log(res.statusMessage,res.body)}})).on('error',err=>{console.error('INPUT ERROR:',err)}).on('data',doc=>{console.log(doc.toString())// or write to other stream e.g. JSONStream.stringify()}).on('end',()=>{// Event on end})
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Any sample of this? Thanks in advance!
The text was updated successfully, but these errors were encountered: