Skip to content

Commit 1dc895e

Browse files
committed
final edits to readme.
1 parent 2a82767 commit 1dc895e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Next let's open ``service.py``, in here you'll find the following function:
7272
7373
This is the handler function; this is the function AWS Lambda will invoke in response to an event. You will notice that in the sample code ``e`` and ``pi`` are values in a ``dict``. AWS Lambda uses the ``event`` parameter to pass in event data to the handler.
7474

75-
So if for example your function is responding to an http request, ``event`` will be the ``POST`` JSON data and if your function returns something, the contents will be in your http response payload.
75+
So if, for example, your function is responding to an http request, ``event`` will be the ``POST`` JSON data and if your function returns something, the contents will be in your http response payload.
7676

7777
Next let's open the ``event.json`` file:
7878

@@ -123,7 +123,7 @@ Begin by navigating to your `AWS Lambda management console <https://console.aws.
123123

124124
Under API endpoint type select "API Gateway".
125125

126-
Next change Method to ``POST`` and Security to "Open" and click submit (NOTE: you should secure this for use in production, open security is use for demo purposes).
126+
Next change Method to ``POST`` and Security to "Open" and click submit (NOTE: you should secure this for use in production, open security is used for demo purposes).
127127

128128
Now try and run:
129129

0 commit comments

Comments
 (0)