Protect your APIs from DDOS attacks and keep your IP address secret with
APIWall. To set it up, include our script, then initalize APIWall with
your encrypted base url. To send a request, use the
fetch
method of your APIWall object, instead of
window.fetch
to make calls to your API.
<script src="https://api-wall.glitch.me/script.js"></script>
JavaScript
let a=new APIWall("IntcIml2XCI6XCJ4L2l6T3JwN3E3NFJoQnI5dnIrUElnPT1cIixcInZcIjoxLFwiaXRlclwiOjEwMDAsXCJrc1wiOjEyOCxcInRzXCI6NjQsXCJtb2RlXCI6XCJjY21cIixcImFkYXRhXCI6XCJcIixcImNpcGhlclwiOlwiYWVzXCIsXCJzYWx0XCI6XCJwSm5jcVNicG5Uaz1cIixcImN0XCI6XCJOMHZCTGtPS1A0cHdQdXYzSGlGamQxa1d4Y2J6blErdEJhRUVkZHpIN1E9PVwifSI=") // HTTPBin GET
a.fetch("/get").then(r=>r.json()).then(r=>console.log(r));