Skip to content

Instantly share code, notes, and snippets.

@rahulbanerjee26
Created October 26, 2021 05:26
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 rahulbanerjee26/4de2f9e12331616f63f078bcf9d064bd to your computer and use it in GitHub Desktop.
Save rahulbanerjee26/4de2f9e12331616f63f078bcf9d064bd to your computer and use it in GitHub Desktop.
@app.route('/githubIssue',methods=['POST'])
def githubIssue():
data = request.json
print(f'Issue {data["issue"]["title"]} {data["action"]}')
print(f'{data["issue"]["body"]}')
print(f'{data["issue"]["url"]}')
return data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment