Did I find the right examples for you? yes no

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)

src/d/o/doora-HEAD/app.py   doora(Download)
#-*-coding:utf-8-*-
 
from flask import Flask, render_template, request, jsonify
from config import BUCKET_NAME, CALLBACK_URL, Q_DOMAIN, NEED_EXPIRE
from q import qiniu
def upload_callback():
    key = request.form['key']
    download_url = qiniu.rs.make_base_url(Q_DOMAIN, key)
 
    if NEED_EXPIRE: