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