Browse Source

readme

master
Lloyd Brookes 8 years ago
parent
commit
b583b6c56b
  1. 15
      README.md

15
README.md

@ -80,12 +80,15 @@ module.exports = MockBase => class MockRivers extends MockBase {
route: '/rivers',
responses: [
{
response: { type: 'json', body: [
{ name: 'Volga', drainsInto: 'Caspian Sea' },
{ name: 'Danube', drainsInto: 'Black Sea' },
{ name: 'Ural', drainsInto: 'Caspian Sea' },
{ name: 'Dnieper', drainsInto: 'Black Sea' }
]}
response: {
type: 'json',
body: [
{ name: 'Volga', drainsInto: 'Caspian Sea' },
{ name: 'Danube', drainsInto: 'Black Sea' },
{ name: 'Ural', drainsInto: 'Caspian Sea' },
{ name: 'Dnieper', drainsInto: 'Black Sea' }
]
}
}
]
}

Loading…
Cancel
Save