





1.1.0
cdk deploy --all --require-approval never


Access the API Gateway interface to verify the created methods.

In the API Gateway interface, navigate to Stages and copy the Invoke URL for testing the API in Postman.

To add a product using the POST method, open Postman and create a POST request with the endpoint Invoke URL/product.

Next, pass parameters by selecting Body and choosing raw. Then enter the data in the following format:
{
"name": "Product1",
"code": "COD1",
"model": "Model1",
"price": 10.50
}
Press Send to submit the request. Similarly, you can add more product data.

Invoke URL/product
Làm tương tự với các phương thức còn lại.
Next, retrieve all created products using the GET method with the endpoint Invoke URL/product.

Similarly, perform the same steps for the remaining methods.