Get incidents created yesterday query is not working

Hi All,

The below-highlighted query is not working while I am testing from Postman, here the filtration is not working. (this query part was copied from ServiceNow. ). :
https://
*.service-now.com/api/now/table/incident?sys_created_onONYesterday@javascript:gs.beginningOfYesterday()@javascript:gs.endOfYesterday()

Can anyone suggest what correction, I should do in the query to get yesterdays Incidents?

Thanks in advance,
MS