After deploying the backend using SAM CLI/CloudFormation, the system will automatically generate an endpoint address for your API Gateway. This is the address you will use to send test requests via Postman, curl, or integrate with your frontend later.
Note:
Use the previously saved endpoint if you already have it.
Steps to follow:
Access the AWS Management Console
Select the Recently Deployed API
Retrieve the Endpoint from Stages
prod
).Verify the Endpoint
/products
), accessing the root endpoint will return a “Missing Authentication Token” error or HTTP 403. This is normal—just make sure to append the correct resource route when testing your API.Tip:
It is recommended to save this endpoint in your project README or personal notes to avoid having to revisit the AWS Console multiple times during API testing.