PerformHttpRequest and slow servers

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)


Data = nil
while data == nil do
      Data = resultdata

Simple, Or use string Len check until data < 1 for example :slight_smile:

1 Like