arduino-libraries / ArduinoHttpClient

Arduino HTTP Client library
282 stars 170 forks source link

Server variable #32

Open pcmill opened 7 years ago

pcmill commented 7 years ago

After a lot of fiddling with your library I found that the problem of my code was in the fact that I used the following as my server definition:

const char server[] = 'https://google.com";

Now I know that putting 'https://' in front of the server name will throw of the code. The right way of defining the server is:

const char server[] = 'google.com';

Is there a way to improve the documentation of this library to include this information? I would personally start at describing the API of the library in a more detailed fashion.

sandeepmistry commented 6 years ago

@pcmill you could submit a pull request to submit documentation improvements.