Echo Page

Report a typo

Write a program that takes an argument via URL when accessing the main page. The argument is a string. The program should output it. Also, the Response object must be sent with the code 204.

Tip: We can get the data argument directly through a URL. It is in triangular brackets. State a name of the variable that you will use in the view function

Sample Input 1:

The writing on the wall...

Sample Output 1:

The writing on the wall...
Write a program in Python 3
from flask import Flask, make_response

app = Flask('main')

@app.route('URL')
def main_view():
pass # your code here
___

Create a free account to access the full topic