Aws-apigateway locally deployed api - url is not working

Hi,
i am new to localstack,
i am using terraform-python,
i have deployed the api using lambda, dynamodb, apigatway.
deployed to locallry running docker.

i do have provided the endpoints to the local-aws provider.

but when i check the api in postman its not working.

its throwing 404 as errror:
Error: getaddrinfo ENOTFOUND fa7cbed9.execute-api.us-west-2.amazonaws.com

Hi — We have documented how you can access your local API Gateway endpoints here: API Gateway | Docs

TL;DR — You need to replace us-west-2.amazonaws.com with localhost.localstack.cloud:4566 to point to the local endpoint.

So in this case, the endpoint would be fa7cbed9.execute-api.localhost.localstack.cloud:4566.