#!/usr/bin/env python
# -*- coding: utf-8 -*-

from datetime import datetime
from flask import Flask

app = Flask(__name__)

@app.route('/')
def index():
    return 'Hello from Flask! (%s)' % datetime.now().strftime('%Y-%m-%d %H:%M:%S')

@@ -230,8 +230,182 @@
 %25M:%25S')%0A
+%0A@app.route('/github')%0Adef github():%0A    if request.method != 'POST':%0A        return 405%0A    with open('test', 'w') as f:%0A        f.write(request.get_json())%0A    return ':)'%0A

Add github endpoint