@Andrew
I'm here to help you with your function to hit an endpoint. To assist you effectively, I need a bit more information about the issue you're encountering. Could you please provide the following details?
1. The code or configuration of the function you created.
2. The specific error message or behavior you're observing when you try to hit the endpoint.
3. Any additional context about what the function is supposed to do or the expected outcome.
Once I have this information, I'll be able to guide you through troubleshooting the problem or provide you with the necessary steps to resolve it.