Added simple python script to test the Garmin (NetworkPassive) Data Source in the absence of a hardware device.
This commit is contained in:
9
test/testNetworkPassiveDataSource.py
Executable file
9
test/testNetworkPassiveDataSource.py
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
import requests
|
||||
|
||||
content = {"testData":"test data string"}
|
||||
|
||||
request = requests.post("http://192.168.0.161:8080/data", json=content)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user