ESP8266 Webserver Project

Moderator: Sprite_tm

User avatar
By KANUPRIYA SINGH
#91055 Hello Everyone!
As i have gone through this forum and find that so many problems get solution here, may be mine also get one...
i am using esp01 with USB to TTL and connecting it with my wifi using at commands..
AT+GMR
AT+CWAUTOCONN=0
AT+CWMODE=3
AT+CWJAP="SDDI","asaainsddi"
AT+CIFSR
AT+CIPMUX=0
AT+CIPSTART="TCP","enquiry.indianrail.gov.in",80

Till here my wifi is connecting and my server is also getting connected and giving me the response -> OK

But after that when i am trying to send the data it is showing error.
I have tried these commands..

AT+HTTPCLIENT=3,1,"https://enquiry.indianrail.gov.in/ntessrvc/TrainService?action=LiveStation","enquiry.indianrail.gov.in",1,[{"station":"LKO","nextMins":30}]

response-> error

AT+HTTPGETSIZE="https://enquiry.indianrail.gov.in/ntessrvc/TrainService?action=LiveStation"
response->error

AT+CIPSENDBUF={"station":"LKO","nextMins":30},33
response->error

when i am using AT+CIPSEND=76 then it is sending the data in bytes but what should i do to send my {"station":"LKO","nextMins":30} this form of data by using http commands.

Please let me know.
Thanks in advance

Regards