How to invoke Could Functions via an HTTP request?

Hi. Yesterday I received my first message using Cloud Functions. For that, I did something simple and request the url navigating to the function url. In my case is
Sure this could be[‘slotuserEmail’]

Anyway, I’m trying to figure out how to invoke this function via javascript?

Thank you