Quote:
Originally Posted by mr05je
Hi, i have problem with SSL
Error: POST Error: Cert verify failed: BADCERT_NOT_TRUSTED
I'am trying to send request on localhost and idk how to fix this bug
Code:
JSONObject CreateJSONObject()
{
JSONObject hJSONObject = new JSONObject();
hJSONObject.SetString("steamId", "1");
return hJSONObject;
}
public Action test(int client, int args)
{
JSONObject hJSONObject = CreateJSONObject();
HTTPClient hHTTPClient = new HTTPClient("http://localhost:5000/Gang");
hHTTPClient.Post("post", hJSONObject, OnHTTPResponse, 1);
}
P.S.:
I am bad at English, it is difficult for me because I live in Russia
|
I can't reproduce this, are you sure you are using
http://? You should only need a valid SSL certificate when using
https://.
__________________