plugins-quickstart icon indicating copy to clipboard operation
plugins-quickstart copied to clipboard

Does anyone know how to receive user input parameters?

Open wishtodaya opened this issue 2 years ago • 1 comments

@app.get("/news/<string:url>")
async def get_news(url):
    print(url)
    return quart.Response(response=json.dumps(url), status=200)

I want to receive a URL link input from the user, how should I handle it?

wishtodaya avatar May 17 '23 05:05 wishtodaya

@app.get("/news/<string:url>")
async def get_news(url):
    print(url)
    return quart.Response(response=json.dumps(url), status=200)

I want to receive a URL link input from the user, how should I handle it?

Ummm I'm Not Sure Yet Maybe You Can Visit This https://towardsdatascience.com/proper-ways-to-pass-environment-variables-in-json-for-curl-post-f797d2698bf3 Hope This Will Help

j4acks0n avatar May 17 '23 10:05 j4acks0n

What you are doing above looks good!

logankilpatrick avatar Jun 06 '23 13:06 logankilpatrick