Hi,
I have a problem with sending data via https. I set port to 443 and turn on TLS.
void http_client_get_config_defaults(struct http_client_config *const config) { config->port = 443; config->tls = 1; config->timeout = 20000; config->recv_buffer = NULL; config->recv_buffer_size = 8192; config->send_buffer_size = MIN_SEND_BUFFER_SIZE; config->user_agent = DEFAULT_USER_AGENT; }
Then I call http_client_send_request method with this url: https://httpbin.org/post and I receive this info:
http_client_callback: disconnection reason:-104
Anybody can help me?