Https post request
Antwort
02.08.19 02:50

Hi,

I am trying to send a post request via https to my own server but its showing some error. I have enabled http_secure to 1 and the following error showing up. Anybody can help me please?

0 (0 Stimmen)
RE: Https post request
Antwort
06.08.19 15:19 als Antwort auf ghugan sivaperumal.

Hi Ghugan,

The return code 1357 stands for RC_HTTP_SEND_ERROR which is listed within the file Serval_Exceptions.h .

In that regard, did you test, if your web server is reachable with another client except the XDK?

Please note, that the web server is reachable and ready to listen to requests.

Kind regards,
Saeid

0 (0 Stimmen)
RE: Https post request
Antwort
13.08.19 02:32 als Antwort auf Saeid Kajlar.

Hi,

 

Yes the server is reachable when tested using http client such as postman. The http request to external server can be made through xdk. But the problem happens when it comes to https. I just added the ssl certificates under the customer > serverCA.h. I took the the most root ssl certificates and save it as der and convert it to hex. Yet, i still could not able to make any request over https.

0 (0 Stimmen)