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

Function akamai_check

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

Source from the content-addressed store, hash-verified

335}
336
337function akamai_check(type, ip) {
338 var url;
339 if (type === "ipv6") {
340 url = "/api/v1.0/akamai/ipv6_check";
341 } else {
342 url = "/api/v1.0/akamai/ip_check";
343 }
344 var query = "?ip=" + ip;
345
346 make_get_request(url + query, akamai_check_result, null, "akamaiResult");
347}
348
349function gcp_check_result(results, type) {
350 if (results['result'] === true) {

Callers 1

queriesFunction · 0.85

Calls 1

make_get_requestFunction · 0.85

Tested by

no test coverage detected