.
function is implemented by passing the URL to the relevant back-end API endpoint via a front-end HTTP request. So when a user views the stock status for an item, their browser makes a request like this: POST /product/stock HTTP/1.0 Content-Type: application/x-www-form-urlencoded Content-Length: 118