import requests
import json

url = 'https://services3.arcgis.com/GzteEaZqBuJ6GIYr/arcgis/rest/services/survey123_910b6ea1c50743269a5b171a91fe6cc7_fieldworker/FeatureServer/0/addFeatures'
params={"f":"pjson","token":"","rollbackOnFailure":"false","features":'{ \
        "geometry": {"x":-94.2342,"y":45.23434}, "attributes" : { \
            "controller" : "My test controller 2", \
            "lat" : 45.23434, \
            "lon": -94.2342, \
            "temperature" : 0, \
            "humidity" : 0}}'
            }

x = requests.post(url, params=params)
print('ok')
