Skip to content

Commit

Permalink
Replace filepath in curl
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiaxin Fan authored and Jiaxin Fan committed Feb 6, 2023
1 parent 30d505a commit 2d5f65a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/standalone/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ A container can only hold one function. This first example prepared a `js-init.j
The json file contains a simple JavaScript (the target runtime language) function, which is the actual payload.

## Initialze the Runtime
Before issuing the action against the runtime, we first initialize the function with by invoking the ```/init``` endpoint.
Before issuing the action against the runtime, we first initialize the function with by invoking the ```/init``` endpoint with the `js-init.json` payload.
```
curl -H "Content-Type:application/json" -X POST --data '@/docs/users/standalone/helloworld/js-init.json' http://localhost:3008/init
```
Expand Down

0 comments on commit 2d5f65a

Please sign in to comment.