Discussions

Ask a Question
Back to All

Emulator only works once

I developed some code that is accepting WebHook notifications and I want to ensure I am processing the JSON correctly. So I

  1. Go into the emulator on the CorrigoPro Desktop site (https://am-desktop.corrigopro.com/Direct/Emulator).
  2. Select ‘Work order received’ from the dropdown for ‘Choose Event Type’
  3. Click the send button
  4. My code recognized a webhook notification for ‘Work order received’.
  5. Click the send button again to submit another wekbhook notification to my server. My server does not get another request.
  6. Refresh the emulator page (https://am-desktop.corrigopro.com/Direct/Emulator). And repeat steps 2 & 3. Still my server receives no new notification.
  7. Select ‘Work order accepted’ from the dropdown for ‘Choose Event Type’
  8. Click the send button
  9. My code recognized a webhook notification for ‘Work order accepted’.
  10. Click the send button again to submit another wekbhook notification to my server. My server does not get another request.
  11. At this point I cannot use the ‘Work order received’ or the ‘Work order accepted’ options from the dropdown because they no longer generate a new webhook notification to my server. I can only use the event types in the dropdown once.