Browse Source

Comment express route

pull/2/head
Luke Childs 7 years ago
parent
commit
bbb5f049bf
  1. 2
      README.md

2
README.md

@ -37,6 +37,8 @@ test(async t => {
console.log(server.sslUrl);
// https://localhost:5487
// This is just an express route
// You could use any express middleware too
server.get('/foo', (req, res) => res.send('bar'));
const response = await got(server.url + '/foo');

Loading…
Cancel
Save