~lastrosade/getcraft

7149155f62fbb91a044c4689cdbf6c350a38dedd — jeremy.shields 5 years ago 8d1952e
Update README.md
1 files changed, 10 insertions(+), 10 deletions(-)

M README.md
M README.md => README.md +10 -10
@@ 18,16 18,16 @@ Routes are in the routes.json file
- file, sends file content
- directory, sends files contents in directory as json
    ```json
        [
            {
                "filename": "file1",
                "content": "CoolFile"
            },
            {
                "filename": "file2",
                "content": "Nice content"
            }
        ]
    [
        {
            "filename": "file1",
            "content": "CoolFile"
        },
        {
            "filename": "file2",
            "content": "Nice content"
        }
    ]
    ```
- route
    - get, returns the content of the routing array as json