Arduino Stack Exchange is a question and answer site for developers of open-source hardware and software that is compatible with Arduino. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

enter image description here

enter image description here I found out this html code to control Arduino via ESP8266. My question is how to send data from Arduino to webpage??

I was suggested using ajax. But i'm not handle it.

Thanks for any help.

share|improve this question
    
I googled "esp8266 arduino webpage" and came up with plenty of results. Are you able to create a static web page? What specifically are you having trouble with? – sa_leinad Oct 9 '16 at 8:50
    
@sa_leinad - I'm not sure that is what the question is about. The OP seems to be asking how to send data from the Arduino to the machine serving the web page. – Matt Oct 10 '16 at 12:53

I am not certain what you are asking, but I think you want to send some data from an Arduino to a HTML web server. If that is correct then have a look at REST. You will be best searching for REST between PC and server and then porting it to the Arduino.

REST will let you GET data from the server and POST data back to the server. It is relatively easy. You will need to have some scripts on the web server to handle the posts.

share|improve this answer
    
thanks for reply. I realized that something wrong for sending data in command. – Duy Phan Oct 10 '16 at 14:34
    
There is nothing wrong as long as your server works the same way :) – Matt Oct 10 '16 at 14:55

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.