Community news, upcoming events and general discussions
Threads: 36 Posts: 88
Get technical support from the community
Threads: 1397 Posts: 7500
Threads: 18 Posts: 64
Tell us how to make XDK better!
Threads: 36 Posts: 119
Share and discuss community member projects
Threads: 76 Posts: 337
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?
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
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.