Created
July 10, 2020 10:48
-
-
Save gaza3g/e3b10b4ab07d0b953cb4df0bef66e733 to your computer and use it in GitHub Desktop.
Some script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="javascript"> | |
fetch("https://api-ourmosques.commonspaces.sg/api_ext/remote_frontend_mosque_retrievebyclusterid.aspx", { | |
"headers": { | |
"accept": "application/json, text/plain, */*", | |
"accept-language": "en-US,en;q=0.9", | |
"content-type": "application/x-www-form-urlencoded; charset=UTF-8", | |
"sec-fetch-dest": "empty", | |
"sec-fetch-mode": "cors", | |
"sec-fetch-site": "same-site" | |
}, | |
"referrer": "https://ourmosques.commonspaces.sg/", | |
"referrerPolicy": "strict-origin", | |
"body": "app_key=Gzzo3pNdr3S0BOX47k1wT90ih5RmO2Wy&item_id=2", | |
"method": "POST", | |
"mode": "cors" | |
}).then(response => response.json()) | |
.then(data => console.log(data)); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment