From 119fb53c45c94442d8c2a05134b7cc5e100f3bb7 Mon Sep 17 00:00:00 2001 From: Michael Yuan Date: Sat, 10 Dec 2022 01:12:17 +0800 Subject: [PATCH] Update wasmedge-mysql-nginx/README.md Signed-off-by: Michael Yuan Co-authored-by: David Karlsson <35727626+dvdksn@users.noreply.github.com> Signed-off-by: Michael Yuan --- wasmedge-mysql-nginx/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wasmedge-mysql-nginx/README.md b/wasmedge-mysql-nginx/README.md index 8b0cafd..0a9a4f8 100644 --- a/wasmedge-mysql-nginx/README.md +++ b/wasmedge-mysql-nginx/README.md @@ -95,7 +95,7 @@ When the WasmEdge web service receives a GET request to the `/init` endpoint, it curl http://localhost:8080/init ``` -When the WasmEdge web service receives a POST request to the `/create_order` endpoint, it would extract the JSON data from the POST body and insert an `Order` record into the database table. +When the WasmEdge web service receives a POST request to the `/create_order` endpoint, it extracts the JSON data from the POST body and inserts an `Order` record into the database table. For multiple records, use the `/create_orders` endpoint and POST a JSON array of `Order` objects. ```bash