Having a hard time getting this to work. I have a json that is generated on the board and I just need the webhook to pass this on. Its not working right. I have tried a few different options and I am not getting back the answer that I want. This works on cli with curl
Here is the json inside the particle publish
{\"id\": \"111111aaaaaaa\",\"report_at\": \"2020-12-08 09:15:00\",\"lat\": 36.866666656,\"lon\": -96.9032,\"elev\": 1880,\"mph\": 0,\"dir\": 180,\"active\": 1,\"gps\": 1}
Here is the the curl command
curl --include \
--request POST \
--header "Content-Type: application/json" \
--data-binary "{
\"id\": \"111111dssssssss\",
\"report_at\": \"2020-12-08 09:15:00\",
\"lat\": 36.866666656,
\"lon\": -96.9032,
\"elev\": 1880,
\"mph\": 0,
\"dir\": 180,
\"active\": 1,
\"gps\": 1
}" \
'https://www.spotternetwork.org/positions/update'
ID code and gps had been changed.
thanks for the help.