

def post(self):
    shot = request.json
    shot_id = len(shots)
    shot['id'] = shot_id
    shots.append(shot)
    return (shot, 201)

dataset/ETHPy150Open stanford-gfx/Horus/Code/HorusApp/app/resources.py ShotList.post/original