{
process(detail);
$post(
{
route: 'https://conbini.pt/products/fetch/search',
body: JSON.stringify({ 'input': detail.input }),
headers: {'X-CSRF-TOKEN' : 'y0Gr1KtvD1Ms7nIF0cEIWQ2scgTb42Q4hHGc2rs7', 'Content-Type':'application/json'},
})
}"
@post="({detail}) => detail.response.text().then( text => {$('#product-grid').html(text)})"
>
conbini.pt
conbini