How to connect Arduino UNO, ESP8266 to a Subdomain website using AT commands?
Its working with ThingSpeak,
AT+CIPMUX=1
AT+CIPSTART=1,"TCP","api.thingspeak.com",80
AT+CIPSEND=1,62
GET /update?api_key=myapikey&field1=123&field2=456
AT+CIPCLOSE=1
Now, I need to post a String data to a subdomain website using ESP8266, Arduino UNO
Example:
https://subdomain.pythonanywhere.com
http://3dgiftz.epizy.com
Thanks in advance
How to upload ESP8266 content to subdomain.pythonanywhere.com in 3 Steps
FOLLOW CAREFULLY
Step1:- ThingHTTP APP for subdomain.pythonanywhere.com
Step3:- AT commands
AT+CIPMUX=1
AT+CIPSTART=1,"TCP","api.thingspeak.com",80
AT+CIPSEND=1,76
GET /apps/thinghttp/send_request?api_key=YOUR_API_KEY&busid=ABC123&nfc=ABDE3456
AT+CIPCLOSE=1
Reference:
thinghttp-app.html documentation (step-1)
https://exceptionshub.com/how-to-disable-djangos-csrf-validation(step-2)
ESP8266 Connection to Arduino UNO (step-3)
Arduino --------------------------------------- ESP8266
Pin 0 (RX) -----------------------------------> RXD
Pin 1 (TX) -----------------------------------> TXD
GND ------------------------------------------> GND
3.3 V ----------------------------------------> VCC
3.3 V ----------------------------------------> CH_PD
Upload Simple Arduino Code
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}