We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e687de0 commit b62a8adCopy full SHA for b62a8ad
Examples/Streaming/README.md
@@ -34,6 +34,20 @@ swift package archive --allow-network-connections docker
34
If there is no error, there is a ZIP file ready to deploy.
35
The ZIP file is located at `.build/plugins/AWSLambdaPackager/outputs/AWSLambdaPackager/StreamingNumbers/StreamingNumbers.zip`
36
37
+## Test locally
38
+
39
+You can test the function locally before deploying:
40
41
+```bash
42
+swift run
43
44
+# In another terminal, test with curl:
45
+curl -v \
46
+ --header "Content-Type: application/json" \
47
+ --data '"this is not used"' \
48
+ http://127.0.0.1:7000/invoke
49
+```
50
51
## Deploy with the AWS CLI
52
53
Here is how to deploy using the `aws` command line.
0 commit comments