| @@ 5-17 (lines=13) @@ | ||
| 2 | import simplejson as json |
|
| 3 | ||
| 4 | ||
| 5 | class Reporting: |
|
| 6 | @staticmethod |
|
| 7 | def __init__(): |
|
| 8 | pass |
|
| 9 | ||
| 10 | @staticmethod |
|
| 11 | def on_options(req, resp): |
|
| 12 | resp.status = falcon.HTTP_200 |
|
| 13 | ||
| 14 | @staticmethod |
|
| 15 | def on_get(req, resp): |
|
| 16 | result = {} |
|
| 17 | resp.body = json.dumps(result) |
|
| 18 | ||
| @@ 5-17 (lines=13) @@ | ||
| 2 | import simplejson as json |
|
| 3 | ||
| 4 | ||
| 5 | class Reporting: |
|
| 6 | @staticmethod |
|
| 7 | def __init__(): |
|
| 8 | pass |
|
| 9 | ||
| 10 | @staticmethod |
|
| 11 | def on_options(req, resp): |
|
| 12 | resp.status = falcon.HTTP_200 |
|
| 13 | ||
| 14 | @staticmethod |
|
| 15 | def on_get(req, resp): |
|
| 16 | result = {} |
|
| 17 | resp.body = json.dumps(result) |
|
| 18 | ||
| @@ 5-17 (lines=13) @@ | ||
| 2 | import simplejson as json |
|
| 3 | ||
| 4 | ||
| 5 | class Reporting: |
|
| 6 | @staticmethod |
|
| 7 | def __init__(): |
|
| 8 | pass |
|
| 9 | ||
| 10 | @staticmethod |
|
| 11 | def on_options(req, resp): |
|
| 12 | resp.status = falcon.HTTP_200 |
|
| 13 | ||
| 14 | @staticmethod |
|
| 15 | def on_get(req, resp): |
|
| 16 | result = {} |
|
| 17 | resp.body = json.dumps(result) |
|
| 18 | ||
| @@ 5-17 (lines=13) @@ | ||
| 2 | import simplejson as json |
|
| 3 | ||
| 4 | ||
| 5 | class Reporting: |
|
| 6 | @staticmethod |
|
| 7 | def __init__(): |
|
| 8 | pass |
|
| 9 | ||
| 10 | @staticmethod |
|
| 11 | def on_options(req, resp): |
|
| 12 | resp.status = falcon.HTTP_200 |
|
| 13 | ||
| 14 | @staticmethod |
|
| 15 | def on_get(req, resp): |
|
| 16 | result = {} |
|
| 17 | resp.body = json.dumps(result) |
|
| 18 | ||
| @@ 5-17 (lines=13) @@ | ||
| 2 | import simplejson as json |
|
| 3 | ||
| 4 | ||
| 5 | class Reporting: |
|
| 6 | @staticmethod |
|
| 7 | def __init__(): |
|
| 8 | pass |
|
| 9 | ||
| 10 | @staticmethod |
|
| 11 | def on_options(req, resp): |
|
| 12 | resp.status = falcon.HTTP_200 |
|
| 13 | ||
| 14 | @staticmethod |
|
| 15 | def on_get(req, resp): |
|
| 16 | result = {} |
|
| 17 | resp.body = json.dumps(result) |
|
| 18 | ||
| @@ 5-17 (lines=13) @@ | ||
| 2 | import simplejson as json |
|
| 3 | ||
| 4 | ||
| 5 | class Reporting: |
|
| 6 | @staticmethod |
|
| 7 | def __init__(): |
|
| 8 | pass |
|
| 9 | ||
| 10 | @staticmethod |
|
| 11 | def on_options(req, resp): |
|
| 12 | resp.status = falcon.HTTP_200 |
|
| 13 | ||
| 14 | @staticmethod |
|
| 15 | def on_get(req, resp): |
|
| 16 | result = {} |
|
| 17 | resp.body = json.dumps(result) |
|
| 18 | ||