This example shows parameterized GET and POST actions from the WiFly acting as a web client.
Useful for two scenarios:
- When your Arduino+WiFly have data that periodically wants posted to a page
- Reading a page first, doing something interesting, then reporting back results.
Two server-side .php scripts are included which will be called by the client. You can also ping these scripts from your browser. Those of sensitive disposition please be forewarned: the output is functional and not pretty.
Please check the README.txt for installation. Absolutely check with your server guides and gurus if you run into issues.
The big secret is that the official WiFly manual does not include all the pragmas needed to accomplish a successful GET or POST… these examples provide sufficient detail.
As always, constructive feedback is welcome.
Enjoy!