Hi,
I am trying to validate the GitHub username given by the user using the
[1]. When I used the jaggery get() with the tryit am getting the following
error.
<%
var validate = get("https://api.github.com/users/achalac2011","json");
print(validate);
%>
Result:
org.jaggeryjs.scriptengine.exceptions.ScriptException:
javax.net.ssl.SSLHandshakeException:
sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find
valid certification path to requested target at line #2
Is it possible to get a status from above operation. Appreciate any help.
[1] http://developer.github.com/v3/users/#get-a-single-user
Thanks,
--
Achala Aponso
Software Engineer; WSO2 Inc.; http://wso2.com,
Email: [email protected] Mobile: +94 (77) 5234925
Blog: http://achala11.blogspot.com/
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev