Aws-apigateway locally deployed api - url is not working

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

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

TL;DR — You need to replace with to point to the local endpoint.

So in this case, the endpoint would be