You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

23 lines
359 B

module.exports = [
{
request: {
method: 'GET'
},
response: {
status: 200,
body: [
{ id: 1, name: 'conifer', maxHeight: 115 },
{ id: 2, name: 'eucalyptus', maxHeight: 210 }
]
}
},
{
request: {
method: 'POST'
},
response: {
status: 201,
location: '/tree/1'
}
}
]