Question 27
Suppose a request https://xyz.com?name=amey&age=34 generates the below response on the browser’s console,
Name : ameyThe definition of the flask endpoint which handles the above request is given below,
@app.route(code1)def getData(): data = code2 print("Name :", data)Which of the following options should be used to fill the placeholders “code1” and “code2”, to achieve the desired result as shown above?