myems/myems-api/reports/fddshopfloorfault.py

18 lines
303 B
Python

import falcon
import simplejson as json
class Reporting:
@staticmethod
def __init__():
pass
@staticmethod
def on_options(req, resp):
resp.status = falcon.HTTP_200
@staticmethod
def on_get(req, resp):
result = {}
resp.body = json.dumps(result)