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的格式