9 years, 6 months ago.

How to add headers to http get request?

Hello,

Is there a code example on adding a http header such as "Accept: text/plain" to the GET request? The function signature of HttpClient::get() does not give much clue...

Thanks,

yc

Question relating to:

HTTPS Client for MiniTLS-GPL http, SSL, TLS
Be the first to answer this question.