Server Login and password for UNO Web client

Hi all

I have create d a simple Web client with my UNO and I would like to connect to a server protected by login/password.

I would like to connect to this server each five seconds to register data into a mysql database

How can I include login and password when I connect my client to the server ?

Thanks and regards

David

after you send your GET command, send the authorization header like
client.println("Authorization: Basic dXNlcm5hbWU6cGFzc3dvsmQ=");

where the string after Basic is Base64 encoded username:password
You can get Base64 library for arduino by doing a google search.

Thanks you very much

It works fine...