Update wasmedge-mysql-nginx/README.md

Co-authored-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
Signed-off-by: Michael Yuan <michael@michaelyuan.com>
This commit is contained in:
Michael Yuan 2022-12-10 01:14:59 +08:00 committed by GitHub
parent 25613a04a9
commit ed7b8478af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -87,7 +87,10 @@ wasmedge-mysql-nginx-frontend-1 "/docker-entrypoint.…" frontend
```
After the application starts, go to `http://localhost:80` in your web browser to display the web frontend.
Alternatively, you can use the `curl` command to interact with the WasmEdge web service (i.e., the `backend` service).
### Using the API with `curl`
As an alternative to the web frontend, you can use `curl` to interact with the WasmEdge API directly (the `backend` service).
When the WasmEdge web service receives a GET request to the `/init` endpoint, it would initialize the database with the `orders` table.