From 47839c8043583d0a32c4045faeff66de3a618935 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=95=E5=8B=87?= Date: Thu, 22 Aug 2024 12:46:15 +0000 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 57308bc..633b926 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ docker build -t pcap-comment:v_1 . 容器建立 -docker run -it -d --name my_pcap_comment pcap-comment:v_1 python FlaskService.py +docker run -it -d -p 5000:5000 --name my_pcap_comment pcap-comment:v_1 post请求示例 curl --location 'http://172.17.0.2:5000/api/v1/pcap/comment' --form 'file=@"simulator_uid_10062_15.pcap"' --form 'url="http://192.168.45.60"' --form 'id="0ee3927f89478ecb7e672bf2a21fb5"' -o test.pcapng