I am trying to get http response in cloud function
I have written a very simple code in cloud function to check if the email which the user has entered in correct?
def email_checker(request):
email=requests.args.get()
if “@” in email and “.” in email:
return “Valid Email”
else:
return “Invalid Email”
I am getting the below error
500 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.
Can someone please help me?