diff --git a/doc_source/test-sam-cli.md b/doc_source/test-sam-cli.md index 8f7da42e..11378cec 100644 --- a/doc_source/test-sam-cli.md +++ b/doc_source/test-sam-cli.md @@ -207,7 +207,7 @@ Resources: ``` The preceding example configures the following RESTful API endpoints: -+ Create a new product with a `PUT` request to /products\. ++ Create a new product with a `POST` request to /products\. + List all products with a `GET` request to /products\. + Read, update, or delete a product with `GET`, `PUT` or `DELETE` request to /products/\{product\}\. @@ -353,4 +353,4 @@ For compiled languages or projects requiring complex packaging support, we recom Unlike Node\.js, \.NET or Java, Python requires you to enable remote debugging in your Lambda function code\. If you enable debugging \(using the `--debug-port` or `-d` options mentioned above\) for a function that uses one of the Python runtimes \(2\.7 or 3\.6\), SAM CLI maps through that port from your host machine to the Lambda container\. To enable remote debugging, use a Python package such as [remote\-pdb](https://pypi.python.org/pypi/remote-pdb)\. **Important** -When configuring the host, the debugger listens in on your code, so make sure to use `0.0.0.0` and not `127.0.0.1`\. \ No newline at end of file +When configuring the host, the debugger listens in on your code, so make sure to use `0.0.0.0` and not `127.0.0.1`\.