Skip to content Skip to sidebar Skip to footer
Showing posts with the label Superagent

How Can I Inject A Custom Http Header Into Every Request That Superagent Makes?

Clearly SuperAgent supports custom HTTP headers: request .post('/api/pet') .send({ na… Read more How Can I Inject A Custom Http Header Into Every Request That Superagent Makes?

Extending Supertest

I like to use SuperTest to work with my auth system like this: const request = require('./v… Read more Extending Supertest