![]() ![]() Serial.println("Failed to Connect to server. When you’ve restarted, select NodeMCU 0.9 (or NodeMCU 1.0) from the Tools->Board dropdown Config the Board menu and choose the right Port for your device. ![]() String data = "incoming=fromDuino&incoming2=FROMDUINO2" Ĭlient.println("POST /tag.php? HTTP/1.1") Ĭlient.println("Host: ") Ĭlient.println("Content-Type: application/x-www-form-urlencoded") Serial.println("Successfully connected to the network") How do you fix this?Īnd below is the php code to rtecieve the data:Ĭhar server = "" ![]() We created a website hosted by 000webhost and we're trying to post data from our nodeMCU to the database using the sketch below, but the database doesn't seem to show any received data. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |