I have an external server running MySQL. I have installed a php script that, when accessed from HTTP will deliver data from one of the tables. It works fine from a browser:
I cannot figure out how to send this command from Arduino. I have the EthernetClient library working and can access Google as in the example.
When I send this command through the client:
client.println("//GET /php/getEvents.php HTTP/1.0");
the server returns:
<h1>Method Not Implemented</h1>
<p>GET to /php/getEvents.php not supported.<br />
What is the correct way to format a GET in Arduino?