I am using ngrok to make my localhost live, and it's working perfectly.
What I want to do is,
When the user opens the Gmail, I have set up a method that hits a route at my backend and its works fine (I have tested with an online server). But gmail is not able to send request to my own server made by ngrok, its saying 404 error.

In short I just want Gmail to send a request to my localhost.