Commit 28ccbdd6 authored by Sli's avatar Sli

Début de la création du serveur et ajout de l'API de récupération de clefs

parent caabcae9
"id": 1120,
"key": "VDLV7897IEetisuare"
"id": 7988,
"key": "TISEdodp7897tesiuaV8V"
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Author: klmp200
# @Date: 2016-07-03 17:57:28
# @Last Modified by: klmp200
# @Last Modified time: 2016-07-03 18:11:45
from bottle import route, static_file, run
def getKeys():
return static_file("keys.json", root="../data/")
run(host='localhost', port=8080)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment