Example: what is the best way to handle webhook in next.js?