FAQ and Tips
FAQ and Tips
While (active_time==true) { // your business hours //loop until you get http result 204 = no content (no new messages) While (result != 204) { // read next message result = GET https://connect.lhv.eu/messages/next msgid = result.Message-Response-Id // get the HTTP header Message-Response-Id ProcessMessage(result) // whatever you do with the message DELETE https://connect.lhv.eu/messages/[msgid] } Sleep 10 min // adjust according to your actual needs }
Last updated
Was this helpful?