Skip to content

Commit b60807e

Browse files
authored
Update README.md (#881)
updating docs to match changes in cargo lambda cargo-lambda/cargo-lambda@3d8eff1
1 parent 447d9fb commit b60807e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ fn test_my_lambda_handler() {
337337
[Cargo Lambda](https://www.cargo-lambda.info) provides a local server that emulates the AWS Lambda control plane. This server works on Windows, Linux, and MacOS. In the root of your Lambda project. You can run the following subcommand to compile your function(s) and start the server.
338338

339339
```bash
340-
cargo lambda watch -a 127.0.0.1 -p 9001
340+
cargo lambda watch
341341
```
342342

343343
Now you can use the `cargo lambda invoke` to send requests to your function. For example:
@@ -358,7 +358,7 @@ An simpler alternative is to cURL the following endpoint based on the address an
358358

359359
```bash
360360
curl -v -X POST \
361-
'http://127.0.0.1:9001/lambda-url/<lambda-function-name>/' \
361+
'http://127.0.0.1:9000/lambda-url/<lambda-function-name>/' \
362362
-H 'content-type: application/json' \
363363
-d '{ "command": "hi" }'
364364
```

0 commit comments

Comments
 (0)