Update README.md

This commit is contained in:
何勇
2024-08-22 12:46:15 +00:00
parent c89ae44c9c
commit 47839c8043

View File

@@ -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