MCPcopy Create free account
hub / github.com/adobe/Marinus / aws_check

Function aws_check

web_server/public/javascripts/api.js:300–310  ·  view source on GitHub ↗
(type, ip)

Source from the content-addressed store, hash-verified

298}
299
300function aws_check(type, ip) {
301 var url;
302 if (type === "ipv6") {
303 url = "/api/v1.0/aws/ipv6_check";
304 } else {
305 url = "/api/v1.0/aws/ip_check";
306 }
307 var query = "?ip=" + ip;
308
309 make_get_request(url + query, aws_check_result, type, "awsResult");
310}
311
312function azure_check_result(results) {
313 if (results['result'] === true) {

Callers 1

queriesFunction · 0.85

Calls 1

make_get_requestFunction · 0.85

Tested by

no test coverage detected