Webhooks
USDOT OCR On Premise also supports webhooks. It allows you to receive a HTTP POST request to a target URL of your choosing.
Go to Webhooks settings page to manage your webhooks or add a new webhook target.
Note:
-
The Target URL should return a valid HTTP status code
200
. If the Target URL consistently returns an error code, the hook will be removed and an email will be sent to the account owner. -
To quickly test out this feature, you can use webhook.site. It generates a unique target URL and displays all the requests made to that URL.
-
A webhook is sent for each call to the recognition API even when no useful information is found.