Hi there, I'm new to here and have some questions:
I am using MEGA 2560 and Ethernet shield to control some relays. There are some status stored in SD card, such as IP and MAC, and relays' status, like below:
ip = 192.168.1.129
mac = 00-4A-E5-8B-0D-6D
baud = 19200
The question is: I need to change the configs.txt online.
My solution is: print the current configs.txt on browser in textarea. If you want to change the configs, you just modify the text content, and then press "SUBMIT", Arduino will save the new configs in buffer, delete the previous one, and create a new configs.txt according to the buffer. But it seems dificult to use "method=GET" to handle it, the URL cannot hold too many strings! For "method=POST", I am not sure whether it will work.
So can anybody help me to POST or do you have other better opinions? Thanks a lot!