import requests
url = 'http://localhost:5001/pwr-trkr/us-central1/measurements' # local firebase emulator
url = 'https://us-central1-pwr-trkr.cloudfunctions.net/measurements' # legacy firebase server
message = {
  "Vrs": 229.1,
  "Vrt": 226.2,
  "Vst": 234.3,
  "Ir": 4.1,
  "Is": 7.6,
  "It": 1.9,
  "Wrs": 2201.4,
  "Wrt": 3271.5,
  "Wst": 4921.6,
  "F": 59.9,
}
response = requests.post(url, json=message)
print(">> url:", url)
print(">>> tx:", message)
print(">>> rx:", response)
print(">>> rx:", response.json())

0a5893006d1aadadad09c6230ac306448b824c4b
<mask token>

<mask token>
print('>> url:', url)
print('>>> tx:', message)
print('>>> rx:', response)
print('>>> rx:', response.json())

<mask token>
url = 'http://localhost:5001/pwr-trkr/us-central1/measurements'
url = 'https://us-central1-pwr-trkr.cloudfunctions.net/measurements'
message = {'Vrs': 229.1, 'Vrt': 226.2, 'Vst': 234.3, 'Ir': 4.1, 'Is': 7.6,
    'It': 1.9, 'Wrs': 2201.4, 'Wrt': 3271.5, 'Wst': 4921.6, 'F': 59.9}
response = requests.post(url, json=message)
print('>> url:', url)
print('>>> tx:', message)
print('>>> rx:', response)
print('>>> rx:', response.json())

import requests
url = 'http://localhost:5001/pwr-trkr/us-central1/measurements'
url = 'https://us-central1-pwr-trkr.cloudfunctions.net/measurements'
message = {'Vrs': 229.1, 'Vrt': 226.2, 'Vst': 234.3, 'Ir': 4.1, 'Is': 7.6,
    'It': 1.9, 'Wrs': 2201.4, 'Wrt': 3271.5, 'Wst': 4921.6, 'F': 59.9}
response = requests.post(url, json=message)
print('>> url:', url)
print('>>> tx:', message)
print('>>> rx:', response)
print('>>> rx:', response.json())

import requests
url = 'http://localhost:5001/pwr-trkr/us-central1/measurements' # local firebase emulator
url = 'https://us-central1-pwr-trkr.cloudfunctions.net/measurements' # legacy firebase server
message = {
  "Vrs": 229.1,
  "Vrt": 226.2,
  "Vst": 234.3,
  "Ir": 4.1,
  "Is": 7.6,
  "It": 1.9,
  "Wrs": 2201.4,
  "Wrt": 3271.5,
  "Wst": 4921.6,
  "F": 59.9,
}
response = requests.post(url, json=message)
print(">> url:", url)
print(">>> tx:", message)
print(">>> rx:", response)
print(">>> rx:", response.json())
