Unable to upload data using python script from my intel edison board


#1

Hi I’ve setup my account everything looks fine to me. I am able to upload data through URL also
if i run this in my address bar it uploads the data:
http://ficeiot.epizy.com/add_data.php?temp=10&hum=20&pr=30

but when I am using same with python script using urllib2, I am not able to upload the data and It doesn’t through any error also.
given below is the command i am using
urllib2.urlopen(“http://ficeiot.epizy.com/add_data.php?temp="+temp+"&hum="+hum+"&pr=”+press).read()


#2

I don’t think it’s possible to do what you’re trying to do: https://infinityfree.net/support/javascript-error-using-api-or-mobile-android-app/


#3

@Admin said:
I don’t think it’s possible to do what you’re trying to do: https://infinityfree.net/support/javascript-error-using-api-or-mobile-android-app/

Additional to this, I think Python is also not supported here on the free hosting servers.


#4

@UnknownLolz said:

@Admin said:
I don’t think it’s possible to do what you’re trying to do: https://infinityfree.net/support/javascript-error-using-api-or-mobile-android-app/

Additional to this, I think Python is also not supported here on the free hosting servers.

True, but it sounds like @Suryender has a Python script elsewhere which is used to send data to the free hosting website.


closed #5