Flask getting input with GET

I cant get Requests to work. I've tried several variations of this program and all of them show errors. This one shows
"Internal Server Error
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application." Any help will be greatly appreciated.

You are viewing a single comment. View All
Answered by Saml2020 [earned 5 cycles]
View Answer

You were following my tutorial right? sorry I think I made a little mistake

do this instead

in main.py:

In index.html:


@ruiwenge2 It complies but it doesn't seem to be returning anything


@Toadster change the index.html file to what I wrote