Skip to content

Instantly share code, notes, and snippets.

@rahulbanerjee26
Created September 13, 2022 04:11
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/3c0e5dc8be213fed71f07f1cf533aa1a to your computer and use it in GitHub Desktop.
Save rahulbanerjee26/3c0e5dc8be213fed71f07f1cf533aa1a 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