Please note that we provide hosting intended for use of websites. Using our hosting as an IoT data aggregation platform is not supported:
Also, I’m not sure what this “302 error” means. With some difficulty I was able to find some search results related to Arduino, but not this error code, and I don’t know enough about Arduino programming to tell you what server behavior would cause your board to generate this error.
is it not possible to do like this? and I am not sure about the path to the php file correct… could you please tell me how to locate the files which are in the file manager from the website url…?
then, could you please share the ways to upload data to the database?
Regarding 302 error: When I try to upload data to the database created using HTTP GET method, it gives httpaction as 0:302:0 and I browsed about this in google. It is mentioned as follows: What is an HTTP 302? The 302 status code is a redirection message that occurs when a resource or page you’re attempting to load has been temporarily moved to a different location . It’s usually caused by the web server and doesn’t impact the user experience, as the redirect happens automatically.
/htdocs should not be a part of the URL. htdocs is the root folder for the domain.
Missing >
first, you don’t need '"., it’s pointless. Just put the variable.
Second, that code is not secure, and anyone on the internet can modify the URL to make changes to your database (Including adding potentially malicious code, deleting everything, etc.) Learn More
This is also vulnerable
Don’t know where you see that. Your first URL (With the “htdocs”) returns a 404, and the correct URL (Without the “htdocs”) returns a 500 - I don’t see a 302 anywhere.