/get POST

This commit is contained in:
Kenneth Reitz
2011-05-11 23:00:30 -04:00
parent 645c5bed97
commit 387292cd39
+1 -1
View File
@@ -75,7 +75,7 @@ def get_new_url_json():
@app.route('/get/<url>', methods=['GET'])
@app.route('/get/<url>', methods=['GET', 'POST'])
def get_url(url):
"""Gets given URL."""