What is the purpose of a webhook in API design?
-
A
To poll an API for updates at regular intervals
-
B
To allow a server to push event notifications to a client URL
-
C
To authenticate API requests using cryptographic keys
-
D
To cache API responses on the client side