From 8fb0fba7652170838fc28c9b0cd2189e97417572 Mon Sep 17 00:00:00 2001 From: leo Date: Sat, 19 Oct 2024 11:17:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=201018=5F=E9=AB=94=E6=85=8BA?= =?UTF-8?q?PI=5F=E6=B8=AC=E8=A9=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...E9%AB%94%E6%85%8BAPI_%E6%B8%AC%E8%A9%A6.md | 27 +++++++++---------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/1018_%E9%AB%94%E6%85%8BAPI_%E6%B8%AC%E8%A9%A6.md b/1018_%E9%AB%94%E6%85%8BAPI_%E6%B8%AC%E8%A9%A6.md index 2e42091..6589e64 100644 --- a/1018_%E9%AB%94%E6%85%8BAPI_%E6%B8%AC%E8%A9%A6.md +++ b/1018_%E9%AB%94%E6%85%8BAPI_%E6%B8%AC%E8%A9%A6.md @@ -1,19 +1,18 @@ # API相關 ## 上傳資料 ``` -URL : http://140.125.20.183:7700/api/Yuntech_in_car_table/city_parking_in_car_data +URL : http://140.125.20.183:7700//api/Postural_Analysis_1 Method : POST Content-Type: application/json -data:{ "license_plate_number": "string", - "car_img": "string", - "location": "string"} -{ - "img_name": "111120221221172038.jpg", - "test_id": "1111", - "test_analyst": " ", - "test_time": " ", - "test_date": " ", - "img": "base64格式", - "data_creat_time": "2023-01-11T12:53:25.381Z", -} -``` \ No newline at end of file +data:{ + "img_name": img_name, + "test_id": user_id, + "test_analyst": " ", + "test_time": " ", + "test_date": " ", + "img": img_base64, + "data_creat_time": "2023-01-11T12:53:25.381Z" + } + +``` +img需要轉base64的格式