Trying the Async API Demo
Some endpoints in this documentation are asynchronous — the response shown in the right panel after clicking Send API Request is only a confirmation that the command was received, not the final result. For example, the response received is {"success":true,"trans_id":"1"}. To try this demo, you need to set up your own webhook URL first.
How to Set Up a Webhook for Testing
- Prepare a webhook URL. If you don't have your own endpoint, you can use webhook.site to get an instant testing URL.
- Open the Mesin Absensi menu.
- Click Detail on the device you want to use for testing.
- Enter your prepared URL in the Webhook URL field.
- Click Simpan.
After the webhook is registered, the actual results will be forwarded as a callback response through that webhook, and you can return to the desired endpoint page to try the Send API Request button as usual.