0

Since i didnt do any webserver code so far,my mind is full of questions.Lets say I have web server and I want to store data that comes from an arduino in database.How can I receive data ? Do I have to use php,write a script for webserver.Lets say I write the script and I made server to listen the port,where should I put script in my server in order to make server listen the port all the time.I need a tutorial.Any help will be appreciated. Thanks in advance.

Ali Yılmaz
  • 93
  • 3
  • 12

1 Answers1

0

I already did something like you want to do, and today I think the best choice is to do a REST api on an external webserver (you can do it with PHP). You can also install you API (or any other kind of program) on your arduino but you will be limited by the memory (depending the amount of data you write).

Community
  • 1
  • 1
Victor Castro
  • 1,232
  • 21
  • 40