-
-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Closed
Description
So I have a json file that has the following schema:
{
"environments": [
{
"id": 12,
"reports": [
{
"id": 17
},
{
"id": 25
}
]
},
{
"id": 19,
"reports": [
{
"id": 22
},
{
"id": 30
}
]
}
]
}/environments works, as does /environments/12, so I figured I could use the route /environments/12/reports to return that array, but it's returning a 404 instead. Am I doing something wrong here?
My env:
- Mac OS X Yosemite
- NVM 0.24.0
- io.js 1.8.1
- json-server 0.7.3
Metadata
Metadata
Assignees
Labels
No labels