Added CURL method to get json response from http request for the web + alertify js changes