I have a script where I use PerformHttpRequest
to acces my express based node application uploaded to heroku. It work fine but when the heroku application goes to sleep, it fails. I am assuming it is because of the slow respons time of the sleeping heroku application.
Is there a way to make PerformHttpRequest wait for the servers answer? and if so how?
(The script function normally, but it gets the respons as nil)