Here is an example on how to use the upload API to upload PCAP files from your own application.
Upload API v2 endpoint: api/v2/upload
Example to upload using curl
curl -X POST \
-F "apiKey=APIKey000xyz123xyz123" \
-F "file=@/home/user/files/example.pcapng" \
https://app.visualbacnet.com/api/v2/upload
- replace
APIKey000xyz123xyz123
with the API corresponding to the monitoringNode of your choice - replace
/home/user/files/example.pcapng
to the filename and path of the file to upload - For Windows,
- replace
curl
withcurl.exe
-
/home/user/files/example.pcapng
will have format of such as@C:\Users\user\files\example.pcapng
- replace
- If necessary, replace
app.visualbacnet.com
with the correct Visual BACnet server address
Comments
0 comments
Please sign in to leave a comment.