using https , can't send POST data | developer.brewmp.com using https , can't send POST data | developer.brewmp.com

Developer

using https , can't send POST data

Forums:

hi,
the First is
When Accessing https , I can't send POST data using "POST" method,
and "GET" method is working fine,
but When Accessing http , "POST" and "GET" method is both fine.
why?

The Second is
I can only use SSL_TRUST_MODE_IGNORE , when using others like SSL_TRUST_MODE_CHECK, I will encounter error,
what WebOpt I should set?
help me.

Here is my code.
// GET METHOD
IWEB_GetResponse(pApp->m_pIWeb,
(pApp->m_pIWeb, &pwa->piWResp, &pwa->cb, pszUrl,
WEBOPT_HANDLERDATA, pwa,
WEBOPT_HEADER, "X-Method: GET\r\n",
WEBOPT_HEADERHANDLER, WebAction_Header,
WEBOPT_STATUSHANDLER, WebAction_Status,
WEBOPT_SSL_TRUST_MODE, SSL_TRUST_MODE_IGNORE,
WEBOPT_END));
// POST METHOD
IWEB_GetResponse(pApp->m_pIWeb,
(pApp->m_pIWeb, &pwa->piWResp, &pwa->cb, pszUrl,
WEBOPT_HANDLERDATA, pwa,
WEBOPT_HEADER, "X-Method: POST\r\nContent-Type: application/x-www-form-urlencoded\r\n",
WEBOPT_HEADERHANDLER, WebAction_Header,
WEBOPT_STATUSHANDLER, WebAction_Status,
WEBOPT_METHOD, "POST",
WEBOPT_BODY, pwa->pipPostData,
WEBOPT_CONTENTLENGTH, STRLEN(pwa->pszPostData ),
WEBOPT_SSL_TRUST_MODE, SSL_TRUST_MODE_IGNORE,
WEBOPT_END));